How to enable Soap message logging for apache cxf clients and servers.

To enable SOAP message logging for all the cxf endpoints and clients of an application add the below configuration to cxf-beans.xml. The cxf bus is the backbone of all cxf endpoints.

<cxf:bus>
  <cxf:features>
     <cxf:logging/>
  </cxf:features>
</cxf:bus>

%d bloggers like this: