In the Configure SOA Settings page, click Empty Composite, and click Finish. Select Save All from the File main menu.

2-18 Oracle Fusion Middleware Users Guide for Oracle B2B Task 2 Add Service Components Service components implement the business logic or processing rules of your application.

1. From the Component Palette, select SOA.

2. From the Service Components list, drag a component into the designer.

Figure 2–14 shows a BPEL process being added to the designer. Figure 2–14 Adding BPEL Process to Composite This image shows the Create BPEL Process dialog. The fields of this dialog are described in the table below this image. A specific dialog for the selected service components is displayed. Table 2–3 describes the available editors. 3. Configure the settings for a service component. For help with a service component dialog, click Help or press F1. Click Finish.

4. Click OK.

5. Select Save All from the File main menu.

See Oracle Fusion Middleware Developers Guide for Oracle SOA Suite for more information about adding service components. Task 3 Add a B2B Binding Component Add a service or a reference binding component.

1. From the Component Palette, select SOA.

Table 2–3 Starting Service Component Editors Dragging This Service Component... Invokes The... BPEL Process Create BPEL Process dialog to create a BPEL process that integrates a series of business activities and services into an end-to-end process flow. Business Rule Create Business Rules dialog to create a business decision based on rules. Human Task Create Human Task dialog to create a workflow that describes the tasks for users or groups to perform as part of an end-to-end business process flow. Mediator Create Mediator dialog to define services that perform message and event routing, filtering, and transformations. Getting Started with Oracle B2B 2-19

2. Drag B2B to the Exposed Services or the External References swim lane.

■ Select Exposed Services for receiving inbound messages. ■ Select External References for sending outbound messages. 3. On the B2B Configuration Wizard Welcome page, click Next. 4. On the Service Name page, provide a name for the B2B service and click Next. 5. On the B2B Integration Type page, select an integration type, as described in Table 2–4 . ■ If you select Default, complete steps 6 through 10. ■ If you select AQ, complete steps 6 through 9 and 11 through 14 ■ If you select JMS, complete steps 6 through 9 and 15 through 18 6. On the Application Server Connection page, do one of the following: ■ From the AppServer Connection list, select an application server connection and click Next. ■ Or, click New to create an application server connection. Follow the Create Application Server Connection Wizard. When the application server connection is established, the following information is displayed: the user name created for the application server connection, the host name for the server instance, and the SOA Server name. The SOA servers configured and running in Weblogic are displayed when you select an application server connection. After you select a SOA server, the SSL or HTTP port is retrieved and the B2B web service URL is generated for retrieving document definitions. You can also click Test B2B to verify that you can connect to your Oracle B2B installation.

7. On the Operation page, select Send or Receive, as described in

Table 2–5 .

8. On the Document Definition Handling page, select the option on the Basic tab or

one of the options on the Advanced tab, as described in Table 2–6 . Table 2–4 Selecting an Integration Type Type Description Default A B2B WSDL is generated for the SOA composite to communicate with Oracle B2B directly. AQ An AQ Adapter WSDL and JCA file are generated for the SOA composite to communicate with Oracle B2B through AQ queues. JMS A JMS Adapter WSDL and JCA file are generated for the SOA composite to communicate with Oracle B2B through JMS queues. Table 2–5 Selecting a Send or Receive Operation Operation Description Send For outbound messages Receive For inbound messages