show soap message of JAXWS / wsimport generated Java clients

To show the raw SOAP message you could set the following values:

com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump = true
com.sun.xml.internal.ws.transport.http.HttpAdapter.dump_threshold = 64000;

they could be set using the debugger or the -D parameter used to execute the program.

here you could see a older older Version using System Propertys

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");

Inhalt abgleichen