DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Alwin Guest

    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

  2. #2
    Randy Charles Morin Guest

    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




  3. #3
    Christian Weyer Guest

    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



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links