In the Expression field, enter an XPath expression and click OK.

Getting Started with Oracle Mediator 18-25 This defines a filter to be applied to the message before a rule is executed. Filters use XPath standards and enable selective execution of Oracle Mediator routing rules. – Semantic Validation This uses the Schematron validation standard to define semantic validation of incoming requests. Semantic validation also verifies that the data is correct. – Transformation This transforms incoming data to a format that is compliant with the called services or published events. Transformation is based on XSL transformation standards. – Assign This manipulates headers and properties for a message to meet the requirements of the called service. ■ Dynamic Routing Rule A dynamic routing rule lets you externalize the routing logic to an Oracle Rules Dictionary, which in turn enables dynamic modification of the routing logic in a routing rule. This feature depends on a decision service and Oracle Rules to obtain the routing logic at runtime.

18.5 Generating a WSDL File

You can generate the WSDL file for a message using an XML schema definition XSD file or using a sample file. When working with Oracle Mediator, you can generate a WSDL file at either of the following times: ■ When you are creating an Oracle Mediator and you select the Interface Definition from WSDL template in the Create Mediator dialog, selecting Generate WSDL from Schemas next to the WSDL URL field opens the Create WSDL dialog. ■ When you have an Oracle Mediator with no interface defined and you click Define Service next to the WSDL URL field in the Mediator Editor, selecting Generate WSDL from Schemas next to the WSDL URL field opens the Create WSDL dialog. The Create WSDL dialog populates standard fields, such as the file name, directory, and namespace; and the dialog changes depending on the interface type you select. You can specify the same or different schema files for the message inputs.

18.5.1 How to Generate a WSDL File

The way you configure a WSDL file depends on the type of interface being defined by the WSDL file. You can define a one-way interface, a synchronous interface, or an asynchronous interface. Note: Oracle recommends using a Unicode database with AL32UTF8 as the database character set for full globalization support in Oracle Mediator.