I want to log raw soap post requests if there are any errors , I am using JAX-WS. Any help will be appreciated.
Is there an easy way (aka: not using a proxy) to get
Just thought I would mention this:
internal
in it and when not ?If you read the Metro Guide it will tell you to use:
on client:
com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true
on server:
com.sun.xml.ws.transport.http.HttpAdapter.dump=true
However: It seems to me that when JAX-WS RI library got included as standard with the JDK (this was with Java 6) then Sun had to rename the property name to include 'internal'. So if you are using JAX-WS RI as it comes bundled with the JDK, then you must be sure to add the internal
to the property name. Otherwise it will not work. In other words you need to use:
on client:
com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true
on server:
com.sun.xml.internal.ws.transport.http.HttpAdapter.dump=true
On the other hand if you are using a standalone version of JAX-WS RI (or of Metro as a whole) then I would guess you should use the property name without the internal
.
I'll be glad if someone has inside knowledge on this and can say if this is true or not.