I am sending requests to webservice and receive XML results that I convert to Java object. Now that I want to show this results to users, I need to show them in a specific XML format. I know that I can iterate through the object that I created from received XML to retrieve the values and put them in my new object and convert that to the desirable xml.
Just wondering if there is any better approach to do it?
1) Client sends request to webservice
2) Webservice returns xml response
3) Client need to convert the received xml response into its desirable xml format
Aucun commentaire:
Enregistrer un commentaire