| 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!
|
 |
 |
|
|
subject: How to proccess the response xml of axis2 client call???
|
|
|