Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem is fetching XML body from Soap part

 
raul saini
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I want to fetch the rest of the XML stored inside SOAP body, but with the below simple code, I'm not able to:



Error:


Thanks
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
For a complete example on how to use SAAJ to process SOAP messages and other XML data, please see section 5.7 of my book:
http://www.slideshare.net/krizsan/scdjws-5-study-notes-3085287
The book can be freely downloaded (registration required).
Best wishes!
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic