Apr 102011

I had a business requirement to catch all web service exceptions and include them in an email.

Here’s how to do it:

Put the Web Service Call and Response inside a scope with an Exception Handler.  You don’t have to make it transactional.  You won’t be able to put both the send and receive shapes in an atomic scope.  I left it as “None”. You’ll need to add a reference to System.Web.Services.dll assembly to your project. Right-click on your scope and select Add New Exception Handler.
Select the exception handler you just added and open the properties window.

Configure the following properties:
Property    Value
Exception Object Type    System.Web.Services.Protocols.SoapException
Exception Object Name    ex_MyException

Inside of the exception handler you can do what you need by accessing ex_MyException.Details.  Be careful about terminating the orchestration inside of the exception handler, illness as it might cause zombies.

  • One day, the shoes with master came to ugg outlet a strange place, little shoes in the mind to think what place is so smelly? Master want to do? Not enough time to consider, that owner has to swift throw it in the trash can. Dong of 1, little shoes fell into the world ugg store of darkness, wow!!!!! Help! Little shoes cried out, but no one listen to of see her cry for help, the time one minute past, my little shoes out a dud.
    Just as she devastated, a beam of ugg outlets light as to come in, wow!!!!! So beautiful shoes, who abandoned her? A in rags old woman with both hands quickly saves her up, to help her dry the tears, wash face, the little shoes look more beautiful, the old woman put it back to uggs store the house, to the little grandson grandson, so glad to get up, I had a new shoes?????? Do do ∥ water????????? “Yan г Hun Chen????? Hu bad trans ┧?