aspose file tools*
The moose likes Web Services and the fly likes Parse a soap Response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Parse a soap Response" Watch "Parse a soap Response" New topic
Author

Parse a soap Response

Praveen Dev
Greenhorn

Joined: Apr 26, 2010
Posts: 2
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?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
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.

Bill


Java Resources at www.wbrogden.com
 
wood burning stoves
 
subject: Parse a soap Response
 
Similar Threads
what wsdl2java tool for j2me cell phone ?
Sending requests in xml
Invoking JAX-WS method from browser
soap change prefix for response
<Soap:Body> vs <SOAP-ENV:Body> Parser Error