I just got in to debug some jaxWS "client". I need a way to track raw xml requests and responses that process through. This is a legacy system so I don't want to do much code changes and break it further.Hence I'm looking for solution from configuration level. Note its very 开发者_如何学Pythonunlikely for me to change something from server end for debugging this.
Appreciate if anyone can shed a light on.
if you are using the jaxws impl built into the jdk, you can enable debug logging on the client using the system property "com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true" and on the server using "com.sun.xml.ws.transport.http.HttpAdapter.dump=true" (source).
精彩评论