Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Accessing a returned SOAP object body  RSS feed

g forte
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!