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 -
Right-click the Port Operation, and then select a New Fault Message.
A Fault appears under the Request and Response in the port.
-
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.
-
Right-click Message_3 and select Properties.
-
In Properties, set the Message Type .
-
Select Schema, and then select from ref assembly.
This opens a Select Artifact Type window.
-
Scroll down and select the fully qualified fault.
The name is Microsoft.XLANGs.Core.XlangSoapException.
-
Click OK to accept the selection and close the window.
-
Right-click the Fault to access the Properties window.
-
In Properties, set the Message Type.
-
Select Schema, and then select from ref assembly.
This opens a Select Artifact Type window.
-
Scroll down and select the fully qualified fault.
The name is Microsoft.XLANGs.Core.XlangSoapException.
-
Click OK to accept the selection and close the window.
-
After the fault is named, you will set this name to the CatchException's exception object type.

See Also