Hook web service call

F

Fred

Hello,

A windows forms client connect to an ASP.NET 2.0 web service.
A proxy class is generated by Visual Studio 2005.

How can I simply store (on client side) the time of the last call to the
web service, without modifying the proxy generated class file ?

Thanks for yout help.
 
F

Fred

Dans : Fred disait :
How can I simply store (on client side) the time of the last call to
the web service, without modifying the proxy generated class file ?

I will try to override the GetWebRequest method. It seems to be a
solution.
 
F

Fred

Dans : Fred disait :
Dans : Fred disait :


I will try to override the GetWebRequest method. It seems to be a
solution.

OK, it works fine, even for asynchronous calls.
If someone knows a better solution, I am still interested !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top