This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Parse a soap Response  RSS feed

 
Praveen Dev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!