Click OK. The Transformation_2.xsl XSL mapper tool file with the XSL

5-88 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 5–107 The JDeveloper - BPEL_FIDS.bpel Design the Flow for Airline3 Server 1. Right-click the Flow_1 activity. Click Add Sequence from the menu. Sequence_3 is added.

2. Drag and drop a Switch activity from the Component Palette to Sequence_3.

3. Expand the Switch activity. This displays a screen to enter the values for case

and otherwise.

4. In the case section, click the View Condition Expression icon. The Condition

Expression pop-up window is displayed.

5. Click the Xpath Expression Builder icon in the pop-up window. The Expression

Builder dialog is displayed.

6. Enter booleanbpws:getVariableDataReceive_1_

InboundRequestReply_ InputVariable,FIDSProcessRequest,ns5:FIDSProcessRequest ns5:AirlineName=Airline3 as the expression, and click OK. The screen returns to the Condition Expression pop-up window. 7. Add an invoke activity to the case section.

a. Drag and drop an Invoke activity in the case section.

b. Double-click the Invoke_3 activity. The Invoke dialog is displayed.

c. Click Browse Partner Links at the end of the Partner Link field. The Partner

Link Chooser dialog is displayed.

d. Select Airline3, and click OK.

Note: This expression ensures that this flow is executed only when information for Airline3 is requested. Oracle JCA Adapter for Sockets 5-89

e. Click the Automatically Create Input Variable and Automatically Create

Output Variable icon to the right of the Input and Output Variable field in the Invoke dialog. The Create Variable dialogs are displayed.

f. Select the default variable names and click OK. The Input and Output

Variable fields are populated with the default variable names. The Invoke dialog is displayed.

g. Click OK. An Invoke activity is added to JDeveloper BPEL_FIDS.bpel page

under Sequence_3. 8. Add an assign activity to the case section.

a. Drag and drop an Assign activity from the Component Palette before the

Invoke activity in the case section.

b. Double-click the Assign_3 activity. The Assign dialog is displayed.

c. Click the Copy Operation tab. The Assign dialog is displayed.

d. Select Copy Operation. The Create Copy Operation dialog is displayed. e. Create the copy operation between the source from the input variable of the Receive_1 activity and the source from the input variable of the Invoke_3 activity, as shown in Figure 5–108 . Figure 5–108 The Create Copy Operation Dialog

f. Click OK in the Create Copy Operation dialog.

g. Click OK.

9. Create a temporary variable and add a Transform activity to the case section.

a. Click the Variables... icon represented by x. The Variables dialog is displayed, as shown in Figure 5–109 . Note: The temporary variable is used for storing flight details from the Airline3 server, which would later be appended to the reply variable.