• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Parse a soap Response

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic