title: Spring - Log payload of a JaxWsPortProxyFactoryBean
body: <p>I have the following definition (taken from <a href="http://docs.spring.io/spring/docs/current/spring-framework-reference/html/remoting.html#remoting-web-services-jaxws-access" rel="nofollow">http://docs.spring.io/spring/docs/current/spring-framework-reference/html/remoting.html#remoting-web-services-jaxws-access</a>):</p>
  
  <pre><code>&lt;bean id="accountWebService" class="org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean"&gt;
    &lt;property name="serviceInterface" value="example.AccountService"/&gt;
    &lt;property name="wsdlDocumentUrl" value="http://localhost:8888/AccountServiceEndpoint?WSDL"/&gt;
    &lt;property name="namespaceUri" value="http://example/"/&gt;
    &lt;property name="serviceName" value="AccountService"/&gt;
    &lt;property name="portName" value="AccountServiceEndpointPort"/&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>How to add logging of the payload to see what I send and what I receive? The documentation is rather quiet on the topic of interceptors in the client.</p>