本文介绍了Spring WS WebServicesTemplate / Jaxb2Marshaller客户端查看原始xml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用WebServicesTemplate和Jxb2Marshaller作为编组引擎查看Spring WS客户端的请求和响应?



我只是想记录xml ,不对原始xml执行任何操作。

解决方案

参见 spring-ws 文件:
http: @st $。标准Commons Logging接口:


Is it possible to view the request and the response for a Spring WS client using WebServicesTemplate and Jxb2Marshaller as the marshaling engine?

I simply wan to to log the xml, not perform any actions upon the raw xml.

See the spring-ws documentation:http://static.springsource.org/spring-ws/sites/2.0/reference/html/common.html#logging

You can log messages via the standard Commons Logging interface:

这篇关于Spring WS WebServicesTemplate / Jaxb2Marshaller客户端查看原始xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 23:19