I want to get
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:prin="http://localhost/example"> <soapenv:Header/> <soapenv:Body> THIS </soapenv:Body> </soapenv:Envelope>
from webservice request I send from Java.
I use javax.jws
This can be done programmatically (invasive) or by configuration without changing any code. This page documents how to configure JAX-WS RI:
To dump SOAP messages on the client side, use the following system property:
-Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true
To dump SOAP messages on the server side, use the following system property:
-Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true
Set the following VM property:
-Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With