title: Log soap request and response using apache-cxf
body: <p>I am working on Maven project in Intellij.I have generated wsdl to java using cxf-codegen-plugin. I have created a client and created a tester.java to test the client. I have to log the soap request and response. I have one cxf.xml, config.properties and a client.java files. I am not sure where to configure to log the soap messages. Also i have less idea about webservices. I have also copied log4j.xml to my METAINF.</p>
  
  <p>I have tried all possible scenarios in stack overflow. Not sure which is going wrong.</p>