File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Parse a soap Response
Joined: Apr 26, 2010
Apr 26, 2010 05:42:48
what is the best way to parse a SOAP response. I need to parse the soap response and send it in a different XML .Also the soap faults needs to be handled.Can anyone provide some sample code to do this?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Apr 26, 2010 06:43:31
SOAP toolkits such as AXIS usually come with plenty of examples.
If you are not using a toolkit, recall that SOAP messages must be valid XML so you can use the normal XML tools in the standard Java library.
It is a big help to get one of the utilities that lets you capture the exact text of a SOAP response. SOAPui is well regarded, the older TCPMON that you can find all over is good too.
I agree. Here's the link:
subject: Parse a soap Response
what wsdl2java tool for j2me cell phone ?
<Soap:Body> vs <SOAP-ENV:Body> Parser Error
Invoking JAX-WS method from browser
soap change prefix for response
Sending requests in xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014