Enter Hello in the Service Name field. Click Next.

Oracle JCA Adapter for Database 9-125

2. Double-click the Invoke activity.

The Edit Invoke dialog is displayed.

3. Enter Input in the Name field.

4. Click the Automatically Create Input Variable icon to the right of the Input

Variable field in the Invoke box. The Create Variable dialog is displayed.

5. Select the default variable name and click OK.

The Input Variable field is populated with the default variable name. The Invoke dialog is displayed. 6. Repeat the same procedure to select output variable in the Output Variable field. In the Variables section of the Edit Invoke dialog the Input and Output variable names are displayed.

7. Click OK.

A line with a right arrow will be connected to the Hello partner link is displayed, as shown in Figure 9–59 . Figure 9–59 The Greet.bpel Page

9.8.2.1.5 Change the Message Part of the Request Message

When the payload of the request matches the InputParameters, then all of the IN parameters will be included in the request. The only IN parameter in this example is name. 9-126 Oracle Fusion Middleware Users Guide for Technology Adapters The following are the steps to change the message part for the GreetRequestMessage message: 1. In the Structure Pane for the Greet BPEL process, which is beneath the Application pane, expand Message Types, then Process WSDL - Greet.wsdl, and then GreetRequestMessage .

2. Select payload, and then click the Edit icon.

The Edit Message Part - payload dialog is displayed.

3. Choose Element and then click the Search icon.

The Type Chooser dialog is displayed.

4. Expand Project Schema Files, then SCOTT_HELLO.xsd, and select

InputParameters .

5. Click OK.

The Edit Message Part - payload dialog is displayed.

6. Click OK.

9.8.2.1.6 Change the Message Part of the Response Message

When the payload of the response matches the OutputParameters, then all of the OUT parameters will be included in the response. The only OUT parameter in this example is greeting. The steps for the GreetResponseMessage message part are the same as that of GreetRequestMessage with the following exceptions:

1. Expand the GreetResponseMessage message type, and then select payload.

2. Expand SCOTT_HELLO.xsd in the Type Chooser dialog and select

OutputParameters .

3. Select OutputParameters.

9.8.2.1.7 Add a Assign Activity for the Input Variable

The following are the steps to add an Assign activity for the input variable:

1. Drag and drop an Assign activity from the Component Palette in between the

receiveInput and Greet invoke activities in the design area.

2. Double-click the Assign activity.

The Assign dialog is displayed.

3. Click General to change the name to NAME in the Name field.

4. In the Copy Operation tab, click the plus icon, and select Copy Operation from

the list of operations displayed. The Create Copy Operation dialog is displayed.

5. In the From area expand Variables, inputVariable, payload, and then select

ns2:InputParameters .

6. In the To area expand Variables, Input_Hello_InputVariable, InputParameters,

and then select ns2:InputParameters. 7. Click OK. You have assigned a value to the input parameter.