Add a Reply Activity to the Catch Activity Branch

To add a reply activity to the catch activity branch:

  1. Drag a Reply activity below the Assign activity in the catch activity block.
  2. Double-click the Reply activity.
  3. In the Namespace URI field, click the Browse icon.

    The Fault Chooser dialog is displayed.

  4. Expand Project WSDL Files > TestProcess.wsdl, and select the fault named FaultResponse. Figure 12-8 provides details.

    Figure 12-8 Fault Chooser Dialog

    Description of Figure 12-8 follows
    Description of "Figure 12-8 Fault Chooser Dialog"
  5. In the Name field, enter a name (for this example, ReplyWithFault).
  6. In the Partner Link field, click the Browse icon.

    The Partner Link Chooser dialog is displayed.

  7. Select the same partner link to which the replyOutput reply activity is connected, and click OK.
  8. For the Variable field, click the Browse icon.

    The Variable Chooser dialog is displayed.

  9. Select the FaultResponse variable, and click OK.

    Figure 12-9 Variable Chooser Dialog

    Description of Figure 12-9 follows
    Description of "Figure 12-9 Variable Chooser Dialog"
  10. In the Edit Reply dialog, click OK.

    The BPEL process looks as shown in Figure 12-10. Both reply activities are connected to the same partner link.

    Figure 12-10 BPEL Process Design

    Description of Figure 12-10 follows
    Description of "Figure 12-10 BPEL Process Design"