Click to Rate and Give Feedback
MSDN
MSDN Library
BizTalk Server
BizTalk Server 2009
Operations
Using Adapters
 How to Add a Fault Message

  Switch on low bandwidth view
How to Add a Fault Message

When you first created the port to the back-end system, it contained a request and a response. You must add a fault to capture the exception.

To add a fault message
  1. Right-click the Port Operation, and then select a New Fault Message.

    A Fault appears under the Request and Response in the port.

  2. On the Orchestration View screen, right-click Messages, and then select New Message.

    This creates Message_3, which you can assign specifically to the fault.

  3. Right-click Message_3 and select Properties.

    1. In Properties, set the Message Type .

    2. Select Schema, and then select from ref assembly.

      This opens a Select Artifact Type window.

    3. Scroll down and select the fully qualified fault.

      The name is Microsoft.XLANGs.Core.XlangSoapException.

    4. Click OK to accept the selection and close the window.

  4. Right-click the Fault to access the Properties window.

    1. In Properties, set the Message Type.

    2. Select Schema, and then select from ref assembly.

      This opens a Select Artifact Type window.

    3. Scroll down and select the fully qualified fault.

      The name is Microsoft.XLANGs.Core.XlangSoapException.

    4. Click OK to accept the selection and close the window.

      Aa558787.69fb5349-e0fe-4346-bb9f-8de5bad2e2e0(en-us,MSDN.10).gif


  5. After the fault is named, you will set this name to the CatchException's exception object type.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker