Click Message Types, Partner Links, FIDS, FIDS.wsdl, Message Types, and Click OK. The Message type field in the Create Variable dialog is populated

Oracle JCA Adapter for Sockets 5-87

g. Click OK. A variable, Variable_1, of type Message Type is added to the

Variables list in the Variable dialog.

h. Click OK to return to the BPEL_FIDS.bpel page.

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

activity.

j. Double-click the Transform_2 activity.

k. Click the Transformation tab.

l. Click the Create... icon. The Source Variable dialog is displayed.

m. Select Invoke_2_OutboundRequestReply_OutputVariable from the Source

Variable list and click OK. n. Select Variable_1 from the Target Variable list. o. Click OK. The XSL mapper tool is displayed. p. 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, as shown in Figure 5–106 . Figure 5–106 The Transformation_2.XSL Page With Auto Map Preference Dialog

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

mapping is displayed.

10. Click File, Save All.

The BPEL_FIDS.bpel page is displayed, as shown in Figure 5–107 , with the flow defined for the Airline2 server. 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.