SoapExtension for Global Exception handling; but prevent exception from propagating!!

V

VSK

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top