I have written a custom httpModule for web service plumbing feature. It means the plumbing class will log the request details and also the response details. Its like suppose we have a web service to get the customer nameaccording to the customer id; so the input to the web service is customer id and output would be customer name. I generally call the web service through URL and pass this customerid in my querystring. In my httpModule, I can get the customerid easily in Application_BeginRequestbecause I pass this as querystring. But I face problem when I try to get the response in Application_EndRequest.
Suppose I pass the customerid as
http://xxx/WS.asmx/getCustomerName?sCustomerID=000000and the output is <string xmlns="xxxxx">TBD</string>. Now I need this xml string <string xmlns="xxxxx">TBD</string> in my Application_EndRequest through Response object. I bet that Response object should have this xml string but I dont know how to get that. I dont know whether I make you clear about my problem. If not, please let me know. Is there any way to get the response in httpModule.
Subhendu De