Ask a Question related to ASP.NET Web Services, Design and Development.
-
VSK #1
SoapExtension for Global Exception handling; but prevent exception from propagating!!
Hi,
I wrote a SoapExtension for Global Exception handling in Webservice and it
works!!!!
Now i want to catch the exception that happen in the ASP.NET layer..So i try
to use Application_Error in Global.asax file of webapplication project.
It works fine for ASP.NET exceptions.
But for Webservice level exceptions also Application_Error in Global.asax
file of webapplication project is called which i dont want to happen coz am
handling that in SoapExtension.
I wanted to clear the error after it is handled in WebService level. and do
not wnat it to be propagated ..
I think i have to use System.Web.HttpContext.Current.Server..ClearError( )
somewhere after the exception is handles in webservice layer.
Any ideas where it can be cleared or is there any other way?
FYI:
Our Architecture:
-------------------
ASP..NET and IIS in 1 box
Webservices and Business components in another box
and DB in another box.
we try to access the business components using Webservices..
Thnaks
VSK
VSK Guest
-
#32101 [Com]: Exception in unknown on line 0 when throwing exception inside exception handler
ID: 32101 Comment by: dhopkins at DonHopkins dot com Reported By: ceefour at gauldong dot net Status: No... -
SoapExtension.GetInitializer exception
I am trying to add a soap extension to a web service. I am getting the following error, and cannot figure out what cast is invalid. I am using... -
Global Exception Handling
Exceptions thrown by an XML Web service method created using ASP.NET are sent back to the client in the form of a SOAP fault. A SOAP fault is a... -
Exception Handling.
Hi, Considering the scenario for handling exceptions in Web Application where we have Presentation layer, Business layer and Data Access layer; if... -
Exception handling problem
I override protected void Application_Error(Object sender, EventArgs e) I have code that will read the last Exception message and redirect to a...



Reply With Quote

