BPEL Designer and Service Engine User's Guide

Using the Invoke Element

The Invoke element enables the business process to invoke a one-way or request-response operation on a portType offered by a partner. It enables the business process to send messages to partners. The operation is defined in the partner's WSDL file.

Usage

  1. In the Design view, drag the Invoke element from the Palette to the diagram.

  2. Double-click the Invoke element. The Invoke Properties Editor appears.

Invoke Properties

Image shows the main tab of the property editor
for the Invoke element

The Invoke Properties Editor includes two tabs, Main and Correlation. The properties on the Main tab are:

From the Invoke Properties, you can either create a variable, or use an existing variable, to hold input and output data. Click the Create button to create a variable for the Invoke element, and click Browse to choose an existing variable.

Note that when you click the Browse button, the Input Variable Chooser or the Output Variable Chooser dialog boxes opens. In these dialog boxes, a checkbox with the option to show variables with appropriate types appears. This checkbox restricts the list of available variables to those which are of the proper type for the activity you are configuring. In this way the Design view helps you develop valid BPEL code.

Correlations

Correlation sets on invoke activities, which deal with outbound operations, are used to validate that outgoing messages contain data which is consistent with the data contained within specified correlation set instances. The Correlations tab of the Invoke Property Editor allows you to examine or specify a correlation set.

Image shows the Correlations tab of the Invoke
Properties Editor

The Correlation properties are:

For more information see Understanding Correlation. Using the Correlation Wizard.