sivan created WSCOMMONS-588:
-------------------------------

             Summary: How can fetch the xml content from the 
HttpServletResponse?
                 Key: WSCOMMONS-588
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-588
             Project: WS-Commons
          Issue Type: Wish
          Components: General
            Reporter: sivan


PrintWriter pr = response.getWriter();
code for processing the web service.
.....................
.....................
.....................
String url = "/" + page.getPath() + "/" + pagename;
sess.startPage(page, null, req, response);
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url);
dispatcher.include(req, response);
pr.close();

This is the basic code we are using for processing the web service.
Here we are facing the difficulty of logging the response of the web service.
How we can retrieve the XML content from the response for logging?
We are using the log4j2 logger.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org

Reply via email to