Java – dumptreshold does not work properly
•
Java
I use Jax - WS RI to exchange soap XML with other services
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171) at org.apache.cxf.transpo Message has been truncated use com.sun.xml.ws.transport.http.HttpAdapter.dumpTreshold property to increase the amount of printed part of the message --------------------
I can't correct this problem with the following settings:
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"); System.setProperty("com.sun.xml.internal.ws.transport.http.HttpAdapter.dumpTreshold","999999");
I mean dumptreshold = 999999
Any help would be appreciated
Solution
I changed my route
System.setProperty("com.sun.xml.internal.ws.transport.http.HttpAdapter.dumpTreshold","999999");
with
System.setProperty("com.sun.xml.ws.transport.http.HttpAdapter.dumpTreshold","999999");
Now I can see the full log
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码