File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Returning more than one value" Watch "Returning more than one value" New topic
Author

Returning more than one value

M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
Hi,

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: http://aspose.com/file-tools
 
subject: Returning more than one value
 
Similar Threads
XML Schema Problem
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
Axis 1.2RC3 and .NET using arrays
XML Schema Problem
How to change WSDL schema definition to suit incoming requests?