Hi,
surely simple enough, but I got stuck on this one:
I want to use the Global.asax file to log every call to a webservice
method. For this, I'm using the Application_BeginRequest method. The
problem now is: how can I get the name of the method the client
requested? All properties of the Context.Request object seem to have
just the filename (.asmx) of the webservice...
Thanks for any hints on this!
Roland
Peter Kelcey - 04 Oct 2005 18:52 GMT
Roland,
You can try
System.Web.HttpContext.Current.Request.Params.Item("HTTP_SOAPACTION")
Peter Kelcey
Roland Dick - 05 Oct 2005 10:52 GMT
> System.Web.HttpContext.Current.Request.Params.Item("HTTP_SOAPACTION")
Thanks a lot, Peter, that did the trick.
Roland