Hook web service call

  • Thread starter Thread starter Fred
  • Start date Start date
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.
 
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.
 
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 !
 
Back
Top