title: Accessing XML payload of Metro 2.0 Request/Response Web Service
body: <p>I am developing a web service, using Metro 2.0 and Tomcat 6, and I have a requirement to be able to log the XML payload of the request and response of a web method for development/support reasons.  The payload would only be logged when in debug mode.</p>
  
  <p>The Web Service uses a servlet implementation (com.sun.xml.ws.transport.http.servlet.WSServlet  and .WSServletContextListener classes), if that affects the answer.</p>
  
  <p>Is this even possible?</p>
  
  <p>Thanks in advance,
  Andy</p>