Select Composite With BPEL in the Composite Template box, and click Finish.

9-124 Oracle Fusion Middleware Users Guide for Technology Adapters

5. Click the Create a New Database Connection icon.

The Create Database Connection dialog is displayed. 6. Enter the following details in the Create Database Connection dialog:

a. Enter a connection name in the Connection Name field. For example,

Myconnection.

b. Select Oracle JDBC for Connection Type.

c. Enter the user name and password as scotttiger.

d. Enter the host name in the Host Name field and the JDBC port in the JDBC

Port field. e. Select SID and enter the SID name. Alternatively, select Service Name and enter the service name.

f. Click Test Connection. A success message is displayed in the Status pane.

g. Click OK.

The Connection field is populated with the MyConnection connection and the JNDI field is populated with eisDBMyConnection.

7. Click Next.

The Operation Type page is displayed.

8. Select Call a Stored Procedure or Function, and then click Next.

The Specify Stored Procedure page is displayed.

9. Click Browse. Select HELLO in the Stored Procedures pane.

The Arguments tab displays the parameters of the stored procedure and the Source tab displays the source code of the stored procedure.

10. Click OK.

The Specify Stored Procedure page is displayed. The Procedure field is populated with the HELLO stored procedure and the arguments for the HELLO stored procedure are also displayed.

11. Click Next.

The Advanced Options page is displayed.

12. Specify any additional advanced options, and then click Next.

The Adapter Configuration Wizard - Finish page is displayed.

13. Click Finish.

The Create Partner Link dialog box is displayed. The name of the partner link is Hello, which is the same as the service name.

14. Click OK.

The outbound Oracle Database Adapter is now configured and the Greet BPEL process is displayed.

9.8.2.1.4 Add an Invoke Activity

The following are the steps to add an invoke activity:

1. Drag and drop an Invoke activity from the Component Palette to the design area

between the receiveInput activity and the replyOutput activity.