title: Store Axis raw XML request/response in session (to be used in JSP)
body: <p>How, if possible, do I get the raw XML request/response that is invoked/retrieved by Axis in my application?</p>
  
  <p>I'm using WSDL2Java that is included with Axis to generate the Java stubs.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>What I currently have is an app that uses Axis to handle the remote API calls.</p>
  
  <p>One of the requirement is to 'store' all the XML request/response from these calls in the session so that it will be available in the JSP (for debugging purposes). How can I achieve this?</p>
  
  <p>I tried writing a custom handler that <code>extends BasicHandler</code> but in that handler, I still can't get the <code>HttpServletRequest</code>/<code>HttpServletResponse</code> pair from the <code>MessageContext</code> </p>