开发者

jaxWS "client" need a way to track raw xml requests and responses

开发者 https://www.devze.com 2023-02-27 05:39 出处:网络
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 f

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消