title: Axis 1 : How to log Request and Response xml
body: <p>I am working on Axis1.4 and generated java clients from wsdl. 
  I am looking for a good working example which shows how to log complete SOAP Request and Response. I did see couple of examples where handleRequest, handleResponse methods are used but I failed to understand how to make use/invoke these handlers from my java classes to capture request/response.</p>
  
  <p>For an example, Here is how I am invoking a service and get the response. I am trying to understand on how to capture the full SOAP XML Request/Response in my code.</p>
  
  <pre><code>//locate service
  
  FundEditorServiceImplServiceLocator locator = new FundEditorServiceImplServiceLocator();
  
  FundEditorService service = locator.getFundEditorServiceImplPort();//invoke service 
  
  FundInfo response = service.getFundInfo(fundInfoSpec);
  </code></pre>