Last active
February 9, 2017 16:50
-
-
Save xboard/17fba1df570cf1cc87e99eb0e9280f96 to your computer and use it in GitHub Desktop.
Apache Axis - print SOAP XML sent/received
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String requestXML = _call.getMessageContext().getRequestMessage().getSOAPPartAsString(); | |
String responseXML = _call.getMessageContext().getResponseMessage().getSOAPPartAsString(); | |
System.out.println("===================================================="); | |
System.out.println("REQUEST"); | |
System.out.println(requestXML); | |
System.out.println("===================================================="); | |
System.out.println("RESPONSE"); | |
System.out.println(responseXML); | |
System.out.println("===================================================="); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment