Receive Shape – Active Dehydrated Forever

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Receive Shape – Active Dehydrated Forever

Viewing 2 reply threads
  • Author
    Posts
    • #22553

      I have am calling a web service via a synchronous operation with a Biztalk orchestration.

       

      If the calling web service dies or throws an exception on its end than the orchestration just keeps running and remains active (becomes dehydrated) forever.

      How do I deal with that?

       

    • #22558

      You could put all the code to call the web service inside a scope. Then you should be able to add exception handler to a scope and catch the exception and handle it gracefully. Here is a couple screen shots:

       

      Hope that helps.

    • #22559

      Add Scope Shape to you orchestration.

      Set its Transaction Type property to None.

      Right Click on the Scope and add new exception.

      You can then handle the exception buy adding expression shape inside the exception shape.

      then put 

      System.Diagnostics.EventLog.WriteEntry(“Web SErvice error”, ExceptionShape.ToString() );

      inside the expression shape

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.