Reputation: 315
I would like to print xml body which is getting passed from my web service client to soap web service deployed on some other server. The problem is that I only have wsdl file with me but no service end point is available to do the end to end testing so I wanted to ensure that request xml is getting passed correctly from my end correctly. Please let me know how can I print this.
Upvotes: 0
Views: 9420
Reputation: 315
String requestXML=_call.getMessageContext().getRequestMessage().getSOAPPartAsString();
String responseXML=_call.getMessageContext().getResponseMessage().getSOAPPartAsString();
Upvotes: 2