-
Sending a class as a parameter in Webservice
Hello,
Is it possible to send an object (VB class or whatever) as a parameter
in a WebService Method. If you know about that can you please send some sample
code related to that.
Thanks a lot,
Alwin
-
Re: Sending a class as a parameter in Webservice
Yes you can, so long as the class supports marshal-by-value.
Sorry, I don't have any sample code close at hand.
--
Randy Charles Morin
http://www.kbcafe.com
Feel free to contact me by private email or messenger
morin_randy@hotmail.com
randy@kbcafe.com
"Alwin" <jalwinjs@hotmail.com> wrote in message news:3c6bfcf4$1@10.1.10.29...
>
> Hello,
> Is it possible to send an object (VB class or whatever) as a parameter
> in a WebService Method. If you know about that can you please send some sample
> code related to that.
> Thanks a lot,
> Alwin
-
Re: Sending a class as a parameter in Webservice
Have a look at www.xmlwebservices.cc - there is a sample for returning
an array of custom objects.
HTH,
Christian
---------------------------------
.NET XML Web Services Repertory
http://www.xmlwebservices.cc/
---------------------------------
Randy Charles Morin wrote:
> Yes you can, so long as the class supports marshal-by-value.
> Sorry, I don't have any sample code close at hand.
> --
> Randy Charles Morin
> http://www.kbcafe.com
>
> Feel free to contact me by private email or messenger
> morin_randy@hotmail.com
> randy@kbcafe.com
>
> "Alwin" <jalwinjs@hotmail.com> wrote in message news:3c6bfcf4$1@10.1.10.29...
>
>>Hello,
>> Is it possible to send an object (VB class or whatever) as a parameter
>>in a WebService Method. If you know about that can you please send some sample
>>code related to that.
>>Thanks a lot,
>>Alwin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks