Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make XML file from WebService responses?

 
Himanshu Gupta
Ranch Hand
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get parts of XML document from a web service calls. I have to make an XML out of it so that I can give it to XSLT for transformation.

The response is somewhat like this


Can someone suggest me a good design as it has to be repeated for a number of elements.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just capture the whole thing. SOAP responses must be legal XML documents.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic