Creating the Q2Qorders.xsd file

Oracle JCA Adapter for JMS 8-33

6. In the Project Name field, enter a descriptive name. For example, queue2queue.

7. In the Available list in the Project Technologies tab, double-click SOA to move it

to the Selected list.

8. Click Next. The Create Generic Application - Configure SOA settings page is

displayed.

9. Select Composite With BPEL from the Composite Template list, and then click

Finish . You have created a new application, and an SOA project. The Create BPEL Process page is displayed.

10. Enter a name for the BPEL process in the Name field. For example, queue2queue.

11. Select Define Interface Later in the Template list, and then click OK.

You have created a BPEL process. The queue2queue application, queue2queue project, and the SOA composite appear in the design area. 12. Copy the Q2Qorders.xsd file to the XSD folder in your project.

8.4.5.4 Creating an Inbound Adapter Service

Perform the following steps to create an adapter service that will dequeue the message to a queue:

1. Drag and drop JMS Adapter from the Service Adapters list to the Exposed

Services swim lane in the composite.xml page. The Adapter Configuration Wizard Welcome page is displayed.

2. Click Next.

The Service Name page is displayed.

3. Enter Inbound in the Service Name field, and click OK.

The JMS Provider page is displayed.

4. Select Oracle Weblogic JMS in the Oracle Enterprise Messaging Service OEMS

box, as shown in Figure 8–15 , and click Next. The Service Connection page is displayed. 8-34 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 8–15 The Adapter Configuration Wizard JMS Provider Page

5. Select the connection created in

Section 8.4.5.2, Creating an Application Server Connection, as shown in Figure 8–16 . Figure 8–16 The Adapter Configuration Wizard Service Connection Page

6. Click Next. The Adapter Interface page is displayed.

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

Operation page is displayed.

8. Select Consume Message, as shown in

Figure 8–17 , and click Next.