| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|[SOAP] Returning array value|
| 4:56 pm on Mar 30, 2010 (gmt 0)|
I'm new in the world of SOAP and web services. I developed a server which returns a string extracted from a database in function of a client script's parameter.
My question is: is it possible to return an array to the client? How do I do that? I use this code to create the service:
array('year' => 'xsd:int'),
array('return' => 'xsd:string'),
So I guess I should put something like xsd:array but array is not a type in XML specification... So, are there other options?
Thank you for you attention
| 2:11 pm on Apr 30, 2010 (gmt 0)|
You wouldn't have an "array" per se...instead you would just have to set up the XML properly. For example:
Something like that, no? I'm very rusty with SOAP as I haven't touched it for quite some time.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved