Creating an Inbound Adapter Service Creating an Outbound Adapter Service

10-110 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 10–92 The JDeveloper Page - Composite.xml Page

10.6.6.4 Wiring Services and Activities

You have to assemble or wire the three components that you have created: Inbound adapter service, BPEL process, and Outbound adapter reference. Perform the following steps to wire the components together: 1. Drag the small triangle in the InboundService in the Exposed Services area to the drop zone that appears as a green triangle in the BPEL process in the Components area. 2. Drag the small triangle in the BPEL process in the Components area to the drop zone that appears as a green triangle in OutboundService in the External References area. The JDeveloper Composite.xml appears, as shown in Figure 10–93 . Oracle JCA Adapter for MQ Series 10-111 Figure 10–93 The JDeveloper - Composite.xml

3. Click File, Save All.

4. Double-click the BPEL process. The BPELprocess.bpel page is displayed.

5. Drag and drop the Assign, and Invoke activities in the order mentioned from the

Component Palette to the Components area. The JDeveloper BPELprocess.bpel page is displayed, as shown in Figure 10–54 . 10-112 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 10–94 The BPELprocess.bpel Page 6. Create temporary variables to store the RFH2 header portions. Additionally, you must create a messageFormat variable, a JMSFolder variable, and an MCDFolder variable. a. Click the Variables... icon represented by x. The Variables dialog is displayed. b. Click the Create... Alt+N icon. The Create Variable dialog is displayed.

c. Enter a variable name in the Name field.

d. Select Simple Type as the variable type.

e. Click Browse XML Schema Types icon at the end of Simple Type field. The

Type Chooser dialog is displayed.

f. Choose string type.

g. Click OK. A variable of type Simple Type is added to the Variables list in the

variable dialog, as shown in Figure 10–95 .