473,386 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Using SoapExtensions with web service clients built in VS2005

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.
Sep 26 '06 #1
2 1727
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.
"Ravikanth" <Ra*******@discussions.microsoft.comwrote in message
news:34**********************************@microsof t.com...
>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.

Sep 27 '06 #2
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
Sep 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Liza | last post by:
hi guys, call me dumb but how do i recognise a webservice ?? if i go to a web site and the information i put into some fields are sent to a database? is that database itself a webservice? ...
1
by: Imran | last post by:
Hi, Please bear with me as I have only 1 weeks .NET experience. I am using VB.NET to write a stand-alone client application that connects to a Web service. I successfully send a request for a...
0
by: Anna | last post by:
Hi, I've got the same problem like many others: I need my Web Service to "push" the data to its clients, ideally generate an event to which the clients listen. Yes, I know that they are not...
3
by: Michael Hoehne | last post by:
Hi, I'm currently facing a problem with a mixed environment using .NET 1.1 and ..NET 2.0 web services. We have a client application (the "client", system 1) running on .NET 2.0/WinXP, calling...
4
by: Alex | last post by:
Hi, all I have an experience in programming with VS6 (Visual C++, MFC, STL), but I'm totally beginner in VS.Net, so forgive me for the stupid questions. But I'll really appreciate if somebody...
4
by: 6kjfsyg02 | last post by:
I am trying to keep some cached information across several SoapExtensions: In my project there are client applications (web and console) that ask a web service. The web service is also mine. But...
1
by: Max André Bündchen | last post by:
Suppose I have a WinForm project that call two Web Services: the AService and the BService :-)... In the AService I apply the ASoapExtension and in the BService I apply the BSoapExtension. This...
8
by: =?Utf-8?B?RGF2aWQrKw==?= | last post by:
Hi, I have been developing Web Services in VS2005. Usually I use the built in server in VS2005 to test and develop the Web Service. However I now want to make this Web Service available to...
0
by: =?Utf-8?B?RmlsaXBwbyBCZXR0aW5hZ2xpbw==?= | last post by:
I have developed a web service under ASP.NET2. this web service call another web service which need a SSL connection. Therefore I pass, to be able to connect, I pass credential and certificate ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.