Invoke
See Also
The Invoke activity invokes a one-way or request-response operation between the BPEL process and a partner web service on a port provided by the partner. Invoke is used in both synchronous and asynchronous calls. In other words, it enables the BPEL process to exchange messages with partners.
As Invoke interacts with a partner web service, an Invoke activity should be associated with a Partner Link element on the diagram.
To se the Invoke element:
- In the Design view, drag the Invoke element from the Palette to the diagram.
- Right-click the Invoke element and choose Edit.
- In the Property Editor dialog box, configure the following:
- Name. Enter an arbitrary name.
- Partner Link. Select a Partner Link for which to specify an operation. Another way to associate a Partner Link with the Invoke activity is to draw a message flow on the diagram.
- Operation. Define an operation to be invoked. The operation is defined in the partner WSDL file, so you can only select it from the drop-down list.
- Input Variable. Create a new variable or use an existing variable to pass the input data to the partner service.
- Output Variable. Create a new variable or use an existing variable to transport the data received from the partner service.
The Invoke element is now configured to invoke calls to the target partner web service.
Adding Correlation
Correlation sets on Invoke activities are used to verify that
outbound messages contain data that is consistent with the data found
within specified correlation set instances.
To define correlation use the Correlation Wizard. You can also set the correlation manually.
- See Also
- Partner Link
- Creating Variables
- Understanding Correlation. Using the Correlation Wizard
- Adding Correlation Sets Manually
- New Variable Dialog Box
- BPEL Designer Palette: Web Service
- About the Design View of the BPEL Designer
Legal Notices