title: How to add interceptors to a wsdl2java (CXF) generated client?
body: <p>I am trying to add some logging to the inbound / outbound traffic of a <code>wsdl2java</code> generated client.
  I have the client generated and using it as follows:</p>
  
  <p>Pseudo code:</p>
  
  <pre><code>MyService ws = new MyService().getMyServiceSoap12();
  ((BindingProvider)ws).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, webServiceAddress); // for dynamic endpoints...
  </code></pre>
  
  <p><strong>Is there any way I can add some interceptors?</strong> I am using it in a <strong>Spring</strong> application by the way!</p>