On the Configure SOA Settings page of the New Gallery dialog, select Composite

18-10 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite

18.4.1.1 How to Create an Oracle Mediator Without an Interface Definition

The Define Interface Later template in the Create Mediator dialog creates an Oracle Mediator with no interface definition. To create an Oracle Mediator without an interface definition: 1. Create an Oracle Mediator using one of the methods 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 service component.

3. From the Template list, select Define Interface Later and click OK.

Figure 18–7 Define Interface Later Template Selection on the Create Mediator Dialog

18.4.1.2 What Happens When You Create an Oracle Mediator Without an Interface Definition

The Oracle Mediator files 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. The Oracle Mediator has no associated WSDL file, port types, or operations. You must define these as described in the following sections. Figure 18–8 shows how an Oracle Mediator created with no interface definition appears in the Mediator Editor. Getting Started with Oracle Mediator 18-11 Figure 18–8 Oracle Mediator with no Interface Definition in the Mediator Editor

18.4.1.3 How to Define an Interface for an Oracle Mediator

After you create an Oracle Mediator without an interface definition, you must define the interface by subscribing to events or by defining services. To subscribe to events: To subscribe to events, the events must be defined in an Event Definition EDL file. 1. Open the Oracle Mediator you want to edit in the Mediator Editor.

2. In the Routing Rules section, click Add Event Subscription.

The Subscribed Events dialog appears.

3. Click Add.

The Event Chooser dialog appears.

4. To the right of the Event Definition File field, click Search and then browse to and

select an EDL file. The Event field is populated with the events defined in the EDL file. 5. Select one or more events and click OK. 6. In the Consistency list, select a level of delivery consistency for the event. 7. In the Run as publisher field, either leave the default value of yes or select no. 8. Double-click the Filter field to open the Expression Builder and define an expression for filtering the event.

9. Click OK.

For more information about the Consistency, Run as publisher, and Filter fields of an event, see Section 18.4.6, Creating an Oracle Mediator for an Event Subscription. To define services: You can define service for an Oracle Mediator with no interface definition in the following two ways: ■ Connect the Oracle Mediator to a service through a wire in the SOA Composite Editor. ■ Use the Define Service option in the Mediator Editor.