Creating an Asynchronous Outbound Request Reply Adapter Service Outbound

Oracle JCA Adapter for MQ Series 10-93 Figure 10–76 The JDeveloper Page - Composite.xml Page

10.6.4.5 Creating Another Outbound Adapter Service

Perform the following steps to create an adapter service that will enqueue the response report messages.

1. Drag and drop MQ Adapter from the Component Palette into the External

References swim lane. The Adapter Configuration Wizard Welcome page is displayed.

2. Click Next. The Service Name page is displayed.

3. Enter OutboundService in the Service Name field, and click OK. The MQ Series

Connection page is displayed.

4. Accept the default JNDI name for the MQ Series connection, and click Next. The

Adapter Interface page is displayed.

5. Select Define from operation and schema specified later, and click Next. The

Operation Type page is displayed.

6. Select Put Message into MQ, and click Next. The Put Message into MQ page is

displayed.

7. Enter test_demo in the Queue Name field, and click Next. The Advanced

Options page is displayed.

8. Accept the default values, and click Next. The Messages page is displayed.

9. Select Native Format Translation is not requiredSchema is Opaque, and click

Next . The Finish page is displayed.

10. Click Finish. You have configured the OutboundService service, and the

composite.xml page is displayed, as shown in Figure 10–77 . 10-94 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 10–77 The JDeveloper Page - Composite.xml Page

10.6.4.6 Wiring Services and Activities

You have to assemble or wire the four components that you have created: Inbound adapter service, BPEL process, async-Req-Res, and Outbound adapter reference. Perform the following steps to wire the components together: 1. Drag the small triangle in the InboundService service 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 async-Req-Res in the External References area. 3. Similarly, drag the small triangle in the BPEL process in the Components area to the drop zone in OutboundService in the External References area. The JDeveloper Composite.xml appears, as shown in Figure 10–78 . Oracle JCA Adapter for MQ Series 10-95 Figure 10–78 The JDeveloper - Composite.xml

4. Click File, Save All.

5. Double-click BPELAsyncreqrep. The BPELAsyncreqrep.bpel page is displayed.

6. Drag and drop the Receive, Assign, Invoke, Receive, Assign, Invoke activities in

the order mentioned from the Component Palette to the Components area. The JDeveloper BPELAsyncreqrep.bpel page is displayed, as shown in Figure 10–79 .