I created a web application in vs2003 which cosumes a web services. I used
SoapExtensions to log the Request sent to server and Response received from
server by adding a SoapExtension attribute to the web method in Reference.cs.
This logic worked fine.
But now I have a similar requirement and that has to be done vs2005.
In vs2005 I created a Web Site project and added a web reference to the WSDL
provided. But after adding the web reference I didn't find Reference.cs
generated. So I couldn't add SoapExtension attribute to the web method to
capture the client requests. Can anybody tell the way to implement
SoapExtensions for web service clients in vs2005.
Thanks in advance.
Pablo Cibraro [MVP] - 27 Sep 2006 15:26 GMT
Hi,
Yes, in VS2005, the web service proxy is automatically generated so you do
not have access to the code.
You should try adding the soap extension by means of configuration.
(Web.Config file)
Regards,
Pablo Cibraro.
>I created a web application in vs2003 which cosumes a web services. I used
> SoapExtensions to log the Request sent to server and Response received
[quoted text clipped - 12 lines]
>
> Thanks in advance.
Dave - 29 Sep 2006 20:19 GMT
Ravikanth:
In solution explorer - click the button for "Show All Files". Then navigate
through your web reference tree. You will find the Reference.cs file under
the service it pertains to.
Dave