Click the Destinations tab in the Settings for Foreign Server Name page.

8-48 Oracle Fusion Middleware Users Guide for Technology Adapters

9. Click Browse and select testInQueue in the Destination field.

10. Click Next. The Messages page is displayed.

11. Click Browse at the end of the URL field. The Type Chooser dialog is displayed.

12. Select Project Schema Files, expense.xsd.

13. Click Next. The expenses.xsd schema file is displayed in the URL field in the

Messages page.

14. Click Next. The Finish page is displayed.

15. Click Finish. You have configured a JMS inbound adapter service.

8.4.8.5 Creating an Outbound Adapter Service

Perform the following steps to create an adapter service that will enqueue the request messages and dequeue the corresponding response messages report from a queue:

1. Drag and drop JMS Adapter from the Component Palette into the Exposed

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

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

3. Enter Outbound in the Service Name field, and click OK. The JMS Provider page

is displayed.

4. Select Oracle Advanced Queueing in the Oracle Enterprise Messaging Service

OEMS box, and click Next. The Service Connection page is displayed. 5. Select the connection created in Section 8.4.5.2, Creating an Application Server Connection, and click Next. The Adapter Interface page is displayed.

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

Operation page is displayed.

7. Select Produce Message, and click Next. The Produce Operation Parameters page

is displayed.

8. Click Browse and select testOutQueue in the Destination field. The Produce

Operation Parameters page is displayed.

9. Click Next. The Messages page is displayed.

10. Click Browse at the end of the URL field. The Type Chooser dialog is displayed.

11. Select Project Schema Files, expense.xsd.

12. Click Next. The expense.xsd schema file is displayed in the URL field in the

Message dialog.

13. Click Next. The Finish page is displayed.

14. Click Finish. You have configured the JMS adapter service, and the composite.xml

page is displayed.

8.4.8.6 Wiring Services and Activities

You must 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 inbound Oracle JMS Adapter component in the Exposed Services area to the drop zone that appears as a green triangle in the BPEL process in the Components area.