This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Web Services and the fly likes Returning more than one value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Returning more than one value" Watch "Returning more than one value" New topic

Returning more than one value

M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92

In my webservice I have a response which has got more than one return elements. the WSDL is like..

Here messages is a StringHolder.

I am confused how would I write code in the SoapBindingImpl class to return two values..
Can you please provide some pointers?
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
Either return an array or an object having two attributes.

My Blog
I agree. Here's the link:
subject: Returning more than one value
It's not a secret anymore!