Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / September 2006

Tip: Looking for answers? Try searching our database.

Using SoapExtensions with web service clients built in VS2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ravikanth - 26 Sep 2006 15:58 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.