aspose file tools*
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 Spring in Action this week in the Spring 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: 12803
    
    5
Just capture the whole thing. SOAP responses must be legal XML documents.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make XML file from WebService responses?