Click OK on the Add Message Part dialog. Click OK.

Getting Started with Oracle Mediator 18-33 The input information appears in the Input field of the Create WSDL dialog. 9. Repeat the above steps to define the input message parts for the Callback section. 10. In the Callback section, specify the following information for the response message: ■ Port Type : The name of the port type in the WSDL file that contains the operation to use. ■ Operation : The name of the action to perform; for example, executeResponse.

11. Click OK.

To generate the WSDL file based on a sample file: You can generate a WSDL file from a file in a native format such as a comma-separated value CSV file, a fixed-length file, a document type definition DTD file, or a COBOL copybook file. Use the Native Format Builder wizard to generate a WSDL file based on a sample file. The Native Format Builder wizard appears when you click Define Schema for Native Format in the Request, Response, Fault, and Callback tabs of the Create WSDL dialog. A WSDL file is generated after you complete the wizard. For information about the Native Format Builder wizard, see the Oracle Fusion Middleware Users Guide for Technology Adapters.

18.6 Specifying Operation or Event Subscription Properties

After creating an Oracle Mediator, you can use the Mediator Editor to select the Validate Syntax XSD checkbox for an operation or event subscription. You can select this option to validate the schemas of the inbound messages. By default, this checkbox is not selected.

18.7 Modifying an Oracle Mediator Service Component

You can modify the operations or event subscriptions of an Oracle Mediator using the Mediator Editor. Note: The callback input represents the response message and is required in asynchronous transactions. Note: Spaces and special characters are not allowed in an operation name or port type. Only alphabetic and numeric characters are supported, and the first character cannot be a number. Both of these fields are required. Note: Partner link types are generally used in BPEL, so you do not need to select Generate partnerlinkType extension for Oracle Mediator. 18-34 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite

18.7.1 How To Modify Operations of an Oracle Mediator

You can modify an Oracle Mediator WSDL file by adding or deleting operations. After modifying the WSDL file, use the Refresh WSDL dialog to synchronize the changes. To modify the operations of an Oracle Mediator: 1. In the Mediator Editor, click the Refresh operations From WSDL icon to the right of the WSDL URL field. The Refresh WSDL dialog appears. If you have made any modifications to the WSDL file, the Refresh WSDL dialog lists all the operations to delete or add. The Refresh will delete Mediator operation field lists all the operations that have been removed from the WSDL file. The Refresh will add Mediator operation field lists all the new operations that have been added in the WSDL file. Figure 18–33 shows the Refresh WSDL dialog. Figure 18–33 Refresh WSDL Dialog

2. To specify a different WSDL file, click Find existing WSDLs to the right of the

WSDL URL field to use an existing WSDL file or Generate WSDL From schemas to create a new WSDL file. The Refresh WSDL dialog is updated based on the operations defined in the specified WSDL file.

3. Click OK.

4. From the File menu, select Save All.

18.7.2 How To Modify Event Subscriptions of an Oracle Mediator

You can subscribe to new events, modify existing event subscriptions, and unsubscribe from subscribed events using the Manage Event Subscriptions option in the Mediator Editor. To modify event subscriptions of an Oracle Mediator: 1. In the Mediator Editor, click the Manage Event Subscriptions icon to the right of Event Subscriptions . The Subscribed Events dialog appears, as shown in Figure 18–34 .