Click Service. Navigate to CustomerRouterProject References USCustomer and select Click OK.

Creating Oracle Mediator Routing Rules 19-57

16. Click OK.

The CustomerData_To_Customer.xsl file appears, as shown in Figure 19–47 . Figure 19–47 CustomerData_To_Customer.xsl Tab – Auto Mapped Connections

17. From the File menu, select Save All.

18. Repeat the procedures mentioned in Step 3 through Step 17 to create a

CanadaCustomer reference as the target service. In the Expression Builder dialog, specify the following expression: in.CustomerDataimp1:CustomerDataCountry=’CA’ After performing all the steps described in this section, the SOA Composite Editor appears, as shown in Figure 19–37 .

19.3.1.6 Task 6: How to Create an Application Server Connection

An application server connection is required for deploying your SOA composite application. For information about creating an application server connection, see Section 40.7.1.1.1, Creating an Application Server Connection.

19.3.1.7 Task 7: How to Deploy the CustomerRouterProject

Deploying the CustomerRouterProject composite application to an application server consists of following steps: ■ Creating an application deployment profile ■ Deploying the application deployment profile to an application server Note: For repeating the steps, you must re-enter the Mediator Editor by closing it or by clicking the CustomerRouter.mplan tab above the editor. 19-58 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite For detailed information about these steps, see Section 40.7.1, Deploying a Single SOA Composite in Oracle JDeveloper.

19.3.2 Running and Monitoring the CustomerRouterProject Application

After deploying the CustomerRouterProject application, you can run it by copying the input XML files to the input folder. The payload files are written to the specified output directories. For monitoring the running instance, you can use Oracle Enterprise Manager Fusion Middleware Control at the following URL: http:hostname:port_numberem where hostname is the host on which you installed the Oracle SOA Suite infrastructure and port_number is the port of the server on which Oracle Enterprise Manager Fusion Middleware Control is installed. For detailed information about these steps, see Section 40.7.1, Deploying a Single SOA Composite in Oracle JDeveloper.

19.4 Creating an Asynchronous Request and Response Using Oracle Mediator

This sample demonstrates an asynchronous request response scenario using Oracle Mediator. This composite has a client BPEL process invoking an Oracle Mediator, which invokes a server BPEL process. All the invocations are done as an asynchronous request response. Figure 19–48 provides an overview of the AsyncMediator use case. Figure 19–48 Overview of AsyncMediator Use Case For downloading the sample files mentioned in this section, visit the following URL: https:soasamples.samplecode.oracle.com