Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for August 2007

How to log the unhandled web service exceptions - August 30, 2007

 Unlike ASP.NET, unhandled web services exception can not be caught in global.asax(Application_Error event). Here is the workaround for that 1.Create a SoapExtension class2.Add the SoapExtensionTypes element in your web.config file and configure your SoapExtension class.3.In the overrided ProcessMessage method, check whether SoapMessage.Exception has any value4.Log the exception details only if the SoapMessageStage is SoapMessageStage.AfterSerialize.5.Make sure ASP.NET account has enough...
http://weblogs.asp.net/sonyram/archive/2007/08/30/how-to-log-the-unhandled-web-service-exc...
Available Archives
- August (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact