• Post Reply Bookmark Topic Watch Topic
  • New Topic

returnig array or multiple rows from webservice

 
Ranadhir Nag
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone advice on teh recommended way to deal with multiple rows or arrays in webservices.
i see a lot of advice on not using the soapenc::Array,but do not see any alternatives to that being presented.

What is the way to go in JAX-WS?
Pointers to good examples will be a big help.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
The use of soapenc:Array is NOT recommended, from an interoperability point of view, see this reference:
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#soapenc_Array
There you can also see examples of the recommended approach: using the maxOccurs attribute.
Best wishes!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!