This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes How to make XML file from WebService responses? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to make XML file from WebService responses?" Watch "How to make XML file from WebService responses?" New topic
Author

How to make XML file from WebService responses?

Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

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.


My Blog SCJP 5 SCWCD 5
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 13007
    
    5
Just capture the whole thing. SOAP responses must be legal XML documents.

Bill
 
Have you checked out Aspose?
 
subject: How to make XML file from WebService responses?
 
jQuery in Action, 3rd edition