jQuery in Action, 2nd edition*
The moose likes Web Services and the fly likes Accessing a returned SOAP object body Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Accessing a returned SOAP object body" Watch "Accessing a returned SOAP object body" New topic

Accessing a returned SOAP object body

g forte

Joined: Aug 28, 2003
Posts: 25
Hello all,
I have used SOAP to return an object from a web service. The call is being made using the classes generate from wsdl2java in conjunction with some of the Apache Axis libraries (this wsdl2java lib is integrated as a plug-in with Eclipse).

The System.out.println returns the following:

Now if I analyze the method above in Eclipse's "inspect" debugger, I can view the resulting XML(message Element) which consists of a two element array�the first contains the XML schema and the second contains the XML data.

What I need to do is access the returned SOAP object(message Element).
How can I expose the MessageElement information that can be seen while debugging? I cannot find a way to access the returned data even though I have confirmed with the debugger that a complete SOAP response was successfully received?.

Any code examples or links to a good example is appreciated.

I agree. Here's the link: http://aspose.com/file-tools
subject: Accessing a returned SOAP object body
Similar Threads
Making a webservice call using axis2
Including information in the SOAP header in a web service invocation.
Missing Element in SOAP Request
sending back XML from the service provider
wsdl2Java stub code - making sense of it. Where to begin?