From the Functions list, select the function to apply to the message payload. For Click Insert Into Expression.

Creating Oracle Mediator Routing Rules 19-21 For information about the XSLT Mapper, see Chapter 37, Creating Transformations with the XSLT Mapper. To add user-defined extension functions: You can use the Expression Builder to include user-defined extension functions. 1. Create an XPath function. 2. Register the Jaxen XPath function with an Oracle Mediator service component in the xpath-function.xml file on the server. 3. Start Oracle JDeveloper. 4. Use the Expression Builder to customize the expression. 5. Deploy the Oracle JDeveloper project to Oracle WebLogic Server. 6. Copy the JAR file containing the user-defined extension functions to the BEAHOMEuser_ projectsdomainssoainfraautodeploysoa-infraAPP-INFlib directory. 7. Modify the .mplan file of the project as follows: ■ Add the function namespace you defined for the extension functions under the Mediator element. ■ Add the function names under the Expression element. This is shown in Figure 19–20 . Figure 19–20 Project .mplan file – Modified to Use User-Defined Extension Functions 8. Invoke the test page with a suitable payload.

19.2.2.9 How to Assign Values

You can use the Assign Values field to propagate the headers, payload, and properties of a message from source to target. Figure 19–21 shows the Assign Values dialog that is displayed when you click the Assign Values icon in the Routing Rules section. 19-22 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite Figure 19–21 Assign Values Dialog To set the properties of the target message: 1. Click Add in the Assign Values dialog. The Assign Value dialog is displayed, as shown in Figure 19–22 . Figure 19–22 Assign Value Dialog

2. In the From section, select any of the following options from the Type list:

■ Property : Select this option to assign a value of a property to the target message. The property list contains a list of predefined message properties. You can also enter any user-defined property name. ■ Expression : Select this option to assign a value of an expression to the target message. When you click the Invoke Expression Builder icon to the right of