Drag an Invoke activity from the Components window into the SOA Composite Editor, below the Receive activity created in How to Subscribe to a Business Event.
Double-click the Invoke activity. The Invoke dialog opens. Alternatively, you can also right-click the Invoke activity and click Edit.
In the Name field, enter a name.
From Interaction Type list, select Event. The layout of the Invoke dialog changes.
To the right of the Event field, click the Browse Events icon. The Event Chooser dialog appears.
Select the event you created and click OK.
You are returned to the Invoke dialog.
Click OK.
Figure 43-8 shows a BPEL process service component that is configured for an event subscription and publication. The blue lightning bolt in the circle on the left side indicates event subscription. The yellow lightning bolt in the circle on the right side indicates event publication. Clicking the blue arrow inside the title changes it to display the title of the published event.
Figure 43-8 BPEL Process Service Component Configuration for Event Subscription and Publishing