Friday 6 July 2012

Invoke Activity in BPEL 11g

Invoke Activity in BPEL


This activity enables you to specify an operation you want to invoke for the service (identified by its partner link). The operation can be one-way or request-response on a port provided by the service. You can also automatically create variables in an invoke activity. An invoke activity invokes a synchronous web service or initiates an asynchronous web service.

The invoke activity opens a port in the process to send and receive data. It uses this port to submit required data and receive a response. For synchronous callbacks, only one port is needed for both the send and the receive functions.

The invoke activity supports the bpelx:inputProperty and bpelx:outputProperty that facilitate the passing of properties through the SOAP header and the obtaining of SOA runtime system properties for useful information such as the tracking.compositeInstanceId and tracking.conversationId.

Figure A-20 shows the Invoke dialog in BPEL 1.1. You can perform the following tasks:

·        Provide the activity with a meaningful name.
·        Select the partner link for which to specify an operation.
·        Select the operation to be performed.
·        Automatically create a variable or select an existing variable in which to transport the data (payload).

Figure A-20 Invoke Dialog


In BPEL 2.0, the Invoke dialog does not include an Assertions tab, Timeout tab, or Skip Condition tab.

0 comments:

Post a Comment