title: How to print SOAP message contents when using Apache Axis
body: <p>I am using Apache Axis for web service automation.</p>
  
  <p>I am preparing SOAP requests via Axis and hitting the web service further.
  What I am looking for is how to print the SOAP request content which is getting compiled and hitting the webservice.</p>
  
  <p>I found that log4j can help but I am struggling how to use it.</p>