Following properties can be used to enable console output of http requests and responses in JAVA.
System.setProperty("com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump",
"true");
System.setProperty("com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump",
"true");
System.setProperty("com.sun.xml.ws.transport.http.HttpAdapter.dump",
"true");
System.setProperty("com.sun.xml.internal.ws.transport.http.HttpAdapter.dump",
"true");
No comments:
Post a Comment