W3C home > Mailing lists > Public > www-ws-desc@w3.org > March 2006

Re: passing objects to web service

From: Arthur Ryman <ryman@ca.ibm.com>
Date: Fri, 31 Mar 2006 08:25:24 -0500
To: wakeup <alainc@euskalnet.net>
Cc: www-ws-desc@w3.org, www-ws-desc-request@w3.org
Message-ID: <OF23E071EC.6C577445-ON85257142.004886B5-85257142.0049B9E5@ca.ibm.com>
Just say no.

Don't view Web services as a distributed object technology. View it as 
message exchange technology. Design your messages as nice, easy to 
understand XML documents and then you can bind them to objects inside your 
implementation. If you use an implementation language like Java or C#, you 
can generate code from the XML document description, i.e. the XSD, that is 
part of the Web service description (WSDL).

Arthur Ryman,
IBM Software Group, Rational Division

blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@fido.ca

"wakeup (sent by Nabble.com)" <lists@nabble.com> 
Sent by: www-ws-desc-request@w3.org
03/31/2006 06:52 AM
Please respond to
wakeup <alainc@euskalnet.net>


passing objects to web service

I'm not sure which is the best form to passing objects in web services. 
do you do it?

- Returning the class?   public myclas exampleMethod()
- Returning a XML string?   public string exampleMethod()
- Another form?


Hip Hop 

View this message in context: 

Sent from the w3.org - www-ws-desc forum at Nabble.com.
Received on Friday, 31 March 2006 13:25:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:54:58 UTC