Click OK in the Create Copy Operation dialog. Click OK.

5-82 Oracle Fusion Middleware Users Guide for Technology Adapters

a. Drag and drop a Transform activity in the case section, after the Invoke_1

activity.

b. Double-click the Transform activity.

c. Click the Transformation tab.

d. Click the Create...Alt+N icon. The Source Variable dialog is displayed.

e. Select Invoke_1_OutboundRequestReply_OutputVariable from the Source

Variable list and click OK. f. Select Reply_1_InboundRequestReply_OutputVariable from the Target Variable list.

g. Click OK. The XSL mapper tool is displayed.

h. Link the tns:Flight node from the source, on the left pane to the target FlightDetails node on the right pane. The Auto Map Preferences dialog appears.

i. Click OK. The Transformation_1.xsl XSL mapper tool is displayed, as shown

in Figure 5–100 . Figure 5–100 The JDeveloper - Transformation_1.XSL Page

9. Click File, Save All. The BPEL_FIDS.bpel page is displayed, as shown in

Figure 5–101 , with the flow defined for the Airline1 server. Oracle JCA Adapter for Sockets 5-83 Figure 5–101 The JDeveloper - BPEL_FIDS.bpel Design the Flow for Airline2 Server 1. Double-click the empty Sequence activity and enter Sequence_2 in the Name field. 2. Drag and drop a Switch activity from the Component Palette to Sequence_2.

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=Airline2 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_2 activity. The Invoke dialog is displayed.

Note: This expression ensures that this flow is executed only when information for Airline2 is requested.