I'm sorry but I'm not seeing how I can reference this in my Web service to get access to the XML that the Web service code is about to return to the client.
I would like to be able to capture that XML before it is returned for debugging purposes.
I'm not sure what you mean. When you use the HttpWebRequest, you are retrieving the xml. When you put it into a datastream, that is the exact xml that was returned in the response.
Are you referring to using the HttpWebRequest via the client? If so, that's not what I am looking for.
I want to capture the return XML from the Web method before it is returned to the client. From within the Web method code, I do not see how I can access the HttpWebRequest object. Even if I could, from the code within the Web method, I'm interested in XML response from the Web method being sent to the client.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.