This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to proccess the response xml of axis2 client call??? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "How to proccess the response xml of axis2 client call???" Watch "How to proccess the response xml of axis2 client call???" New topic
Author

How to proccess the response xml of axis2 client call???

Nestor Alduey
Greenhorn

Joined: Jul 30, 2006
Posts: 26
Dispatch<Source> sourceDispatch = null;
sourceDispatch = service.createDispatch(portQName, Source.class, Service.Mode.PAYLOAD);
Source result = (Source)sourceDispatch.invoke(new StreamSource(new StringReader(req)));
System.out.println("Se pudo consultar el webservice");

Netbeans generate that with the pluggin but, I passed it the xml request, but a I don't know hou to process the result???

Somebody can help me???

Thank you!!!
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
You can, for instance, use JAXB to process the result.
Check page 161 and forward in this document: http://faq.javaranch.com/content/Exam-Objectives-5.pdf
Best wishes!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to proccess the response xml of axis2 client call???
 
Similar Threads
Incorrect encoding in XML
SAX -- DOM?
Writing XML File via Java Program
problem wrting DOM to file
how to modify XML?