Receive

See Also

A business process provides services to its partners through associated Receive and Reply activities. The Receive activity causes the process to wait for a matching message to arrive from a partner service. The process cannot continue or end until it receives a matching message from the partner service. Thus, the attributes of the Receive activity are the Partner Link, the port type (optional), and the operation that the partner is expected to invoke.

The Receive activity is also used to start a business process instance. For this initial Receive element, the createInstance attribute must be set to yes. If there are other Receive activities in your process, their createInstance attributes should be set to no.

To use the Receive element:

  1. In the Design view, drag the Receive element from the Palette to the diagram.
  2. Right-click the Receive element on the diagram and choose Edit.
  3. In the Property Editor dialog box, configure the following:
  4. The Receive element is now configured to wait for a message from a partner web service.

Adding Correlation

To define correlation use the Correlation Wizard. You can also set the correlation manually.

See Also
Partner Link
Reply
Understanding Correlation. Using the Correlation Wizard
Creating Variables
BPEL Designer Palette: Web Service
New Variable Dialog Box
About the Design View of the BPEL Designer

Legal Notices