What Happens When You Create an Oracle Mediator from a WSDL File

Getting Started with Oracle Mediator 18-17

18.4.4.1 How to Create an Oracle Mediator with a Synchronous Interface Definition

The Synchronous Interface template in the Create Mediator dialog creates an Oracle Mediator for a synchronous interaction. To create an Oracle Mediator with a synchronous interface definition: 1. Create an Oracle Mediator as described in Section 18.3, Creating an Oracle Mediator . The Create Mediator dialog appears.

2. In the Name field, enter a name for the Oracle Mediator.

3. From the Template list, select Synchronous Interface, as shown in

Figure 18–15 . Figure 18–15 Synchronous Interface Template Selection on the Create Mediator Dialog 4. If you do not want to create an exposed service with SOAP bindings that is automatically connected to your Oracle Mediator, deselect the Create Composite Service with SOAP Bindings option.

5. To the right of the Input field, click Search to select a schema element for the input

message. By default, the singleString schema element is selected for the input message. 6. Click Search to the right of the Output field to select a schema element for the output message. By default, the singleString schema element is selected for the output message. 7. Click OK.

18.4.4.2 What Happens When You Create an Oracle Mediator with a Synchronous Interface Definition

The Oracle Mediator files that define a synchronous interaction are generated under the specified application and project in the Application Navigator, and the new Oracle Mediator appears in the Mediator Editor in Design view. A WSDL file is also generated with the same name as the Oracle Mediator. In a synchronous interaction, only one port is defined because the response is sent to the same port as the request. Figure 18–16 shows how an Oracle Mediator created with 18-18 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite a synchronous interface appears in the Mediator Editor. The arrows to the left of the execute operation in Figure 18–16 represent a synchronous operation. Figure 18–16 Synchronous Oracle Mediator Component in the Mediator Editor

18.4.5 Creating an Oracle Mediator with an Asynchronous Interface Definition

Oracle Mediator supports asynchronous request-response interactions. In an asynchronous interaction, a client sends a request to a service, but does not block and wait for a reply.

18.4.5.1 How to Create an Oracle Mediator with an Asynchronous Interface Definition

The Asynchronous Interface template in the Create Mediator dialog creates an Oracle Mediator for asynchronous interaction. To create an Oracle Mediator with an asynchronous interface definition: 1. Create an Oracle Mediator as described in Section 18.3, Creating an Oracle Mediator . The Create Mediator dialog appears.

2. In the Name field, enter a name for the Oracle Mediator.

3. From the Template list, select Asynchronous Interface, as shown in

Figure 18–17 .