How to transform java object to XML with axis 1.4?



We are using axis 1.4 for our WS implementation. Whenever the WS request fails we would like to add to our logging the XML of the actual request that was sent. To do that we of course need to be able to transform the request object into its XML representation, same as it will be sent later to the server. In most cases this is to be able later copy-paste it to some other tool, for debug, so it is important to have exactly same XML string as it would be sent to the server. Hope that was clear enough. Thank you.


No comments:

Post a Comment