Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Modifying calls to Invoke()

Reply
Thread Tools

Modifying calls to Invoke()

 
 
Andrew Backer
Guest
Posts: n/a
 
      09-29-2005
Hello,

I am trying to trap all calls to Invoke(...) for a web service and muck
about with the parameters passed. I can do this if I mask Invoke in
the file that vs.net generates (reference.cs), but I would like to be
able to regen the WS w/o worrying about adding this code each time.

I have subclassed the generated webservice, and am trying to override
invoke in there. It won't work since Invoke isn't at the right level.
Seems more like a language issue that a WS specific one, is there some
way around it though?

App
.... class GenByVs : SoapHttpClientProtocol
........ class MyLogicalWs : GenByVs
............ new protected Invoke(... ) {}
............ new myType MyMethod() { base.MyMethod(); }

Invoke() doesn't get called by the the methods in GenByVs, so no go
Wouldn't aspects be nice sometimes?

Thanks for any help,
Andrew Backer

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Are system calls sometimes costlier than library calls? Richard Tobin C Programming 24 11-11-2007 08:52 AM
Voipdiscount Outgoing Calls with Sipgate Incoming Calls on a Linksys PAP2 Giganews UK VOIP 27 10-09-2006 11:28 PM
ods calls business object then method calls ta with output params andy6 ASP .Net 2 06-09-2006 01:54 AM
MoVoIP - FREE MOBILE Inetrnet Phone Calls - FREE Internet Phone Calls ubifone VOIP 0 07-29-2005 04:31 PM
Sequence of constructor calls and destructor calls. Honne Gowda A C++ 2 10-31-2003 09:31 AM



Advertisments