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:
- In the Design view, drag the Reply element from the Palette to the diagram.
- Right-click the Reply element and choose Edit.
- In the Property Editor dialog box, specify the following:
- Name. Enter an arbitrary name.
- Partner Link. Select a Partner Link to which the Reply will send a message. Another way to associate a Partner Link with the Reply activity is to draw a message flow on the diagram.
- Operation. Define an operation associated with the Reply element. The Partner Link and operation should coincide with those of the matching Receive element.
- Select the type of response:
- Normal Response. Select this option to configure the Reply element to send a message of normal response type. Optionally, specify the output variable: either create a new output variable or browse for an existing variable.
- Fault Response. Select Fault Response to configure the Reply element to send a fault message. Choose a fault name and, optionally, specify the fault variable: either create a new fault variable or browse for an existing variable. See Choose Fault Name Dialog Box for details about selecting faults.
The Reply element is now configured to send a response message to a partner web service.
Adding Correlation
To define correlation use the Correlation Wizard. You can also set the correlation manually.
- 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