PC Review


Reply
Thread Tools Rate Thread

Pass Object to Web Service

 
 
Nora McMacken via DotNetMonster.com
Guest
Posts: n/a
 
      25th Apr 2005
Hi
I'm trying to pass an object to a web service. The object is xml
serialized. However, I'm getting an System.InvalidOperationException. I
have never used web service before, and I don't know if I am forgetting
something.

public string GetSlir(object Slir) {
object[] results = this.Invoke("GetSlir", new object[] {
Slir});
return ((string)(results[0]));
}


[WebMethod]
public string GetSlir (object Slir)
{
return "inside";
}
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot pass arguments from .NET Web Service Client to a Java Web Service bobik72 Microsoft Dot NET Framework 0 21st Mar 2006 04:02 PM
Pass Principal Object To Web Service Mythran Microsoft VB .NET 0 1st Jul 2005 07:35 PM
Re: pass javascript object reference to a session object naijacoder naijacoder Microsoft ASP .NET 0 15th Sep 2004 03:01 AM
Re: pass javascript object reference to a session object Girish bharadwaj Microsoft ASP .NET 0 15th Sep 2004 02:55 AM
How do I control or pass data from a webForm object and an html object? Steve Westwood Microsoft C# .NET 1 17th Oct 2003 06:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:41 AM.