Reply

See Also

The Reply activity is used to send a response after a Receive activity has been called. The combination of Receive and Reply elements creates a request-response operation. The Reply activity is used in a synchronous (request/response) interaction, and specifies the Partner Link and operation. All these attributes should match those for the Receive activity that invoked the process.

Note that a Reply activity should always be preceded by a Receive activity for the same Partner Link.

To use the Reply element:

  1. In the Design view, drag the Reply element from the Palette to the diagram.
  2. Right-click the Reply element and choose Edit.
  3. In the Property Editor dialog box, specify the following:
  4. Select the type of response:
  5. The Reply element is now configured to send a response message to a partner web service.

Adding Correlation Sets

You can add the correlation sets defined for the Process element to a Reply element. Before adding a correlation set to the Reply activity, make sure that an least one correlation set has been defined for the Process element.

To add a correlation set to Reply:

  1. In the Design view, right-click a Reply element and choose Edit.
  2. In the Property Editor, select the Correlations tab and click Add.
  3. In the Choose a Correlation Set dialog box, expand the Correlation Sets node, select the correlation set and click OK.
  4. Choose the initiate attribute for this correlation set from the Initiate drop-down list. You can select one of the following options:
  5. (Optional) Add more correlation sets as needed and click OK.
See Also
Partner Link
Receive
Understanding Correlation
Creating Variables
New Variable Dialog Box
BPEL Designer Palette: Web Service
About the Design View of the BPEL Designer

Legal Notices