Spring - 记录JaxWsPortProxyFactoryBean的有效负载

时间:2016-04-06 13:41:32

标签: java spring

我有以下定义(取自http://docs.spring.io/spring/docs/current/spring-framework-reference/html/remoting.html#remoting-web-services-jaxws-access):

<bean id="accountWebService" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean">
  <property name="serviceInterface" value="example.AccountService"/>
  <property name="wsdlDocumentUrl" value="http://localhost:8888/AccountServiceEndpoint?WSDL"/>
  <property name="namespaceUri" value="http://example/"/>
  <property name="serviceName" value="AccountService"/>
  <property name="portName" value="AccountServiceEndpointPort"/>
</bean>

如何添加有效负载的日志记录以查看我发送的内容和收到的内容?关于客户端拦截器的主题,文档相当安静。

0 个答案:

没有答案
相关问题