2.13 XQuery Dialog - XQuery Tab

Use to select the source and target variables and parts (for example, payload schemas) from which to create an XQuery.

The XQuery Mapper enables you to map source elements to target elements. For example, you can map incoming source purchase order data to outgoing target purchase order acknowledgement data.

Element Description

Add icon

Click to select a source variable. For example, select a payload schema consisting of a purchase order request.

Edit icon

Click to edit a selected source variable.

Delete icon

Click to delete a selected source variable.

Move Up icon

Click to move a selected source variable up in the list.

Move Down icon

Click to move a selected source variable down in the list.

Source

Displays the source variable (and its part, such as a payload) from which to map elements. In addition, there are mapping capabilities from the BPEL variable name to the XQuery external variable name (third column in the source table).

Target Variable

Select the target variable (and its part) to which to map elements.

Target Part

Displays the target part of the variable (for example, a payload schema consisting of a purchase order acknowledgement) to which to map.

Mapper File

Select a map file to use. You create your mappings in the map file using the XQuery Mapper. By default, the map file is initially named Transformation_1.xqy in the Transformations folder in the Applications window. After creation, the map file appears in the Applications window.

The XQuery Mapper displays the source and target schemas as trees and nodes. Select and right-click <source> or <target>, then select Expand All to display all available elements. The Components window displays functions and constructs that you can drag into the XQuery Mapper for use

Search icon

Click to browse a directory structure for existing transformation files to open for editing.

Add icon

Click to create a new transformation mapping in the XQuery Mapper. If you receive a message indicating the map file already exists, then click the Edit Mapping icon to edit this file.

Note: You must first select a source variable before you can create a new transformation mapping.

Edit icon

Click to edit the transformation mapping.

Target Part

Displays the target part of the variable (for example, a payload schema consisting of a purchase order acknowledgement) to which to map.

Parsing <from> expression errors and warnings.

Display any errors from the XQuery compiler.

Switch to assign activity Switch to assign activity

Click to convert the XQuery activity to an assign activity. From a source code perspective, this removes a special BPEL annotation.

Related Topics

Creating Transformations with the XQuery Mapper of Developing SOA Applications with Oracle SOA Suite