Using the mapping editor to create data mappings in a mapping session file
The mapping editor allows you to indicate how you want data mapped from a source to a target in a mapping session file (request or response).
In the Service Requester case:
In an request mapping session file, the mapping is from a high-level-language data structure to an XML schema definition.
In an response mapping session file, the mapping is from the mapping is from an XML schema definition to a high-level-language data structure.
Important: You should be aware of possible
error situations (see Error situations that you may encounter in the mapping editor).
To specify mappings in a mapping session file:
Right-click the mapping session file that you want to edit.
Select . The mapping editor opens.
- In the mapping editor:
- Enlarge the editor area until you can see both the source data (on the left) and the target data (on the right).
- For each mapping that you want to create, drag
an element in the source data to an element in the target data. The
editor displays a connecting line between the source element and the
target element to indicate that a mapping exists.Note: The drag operation fails if the source and target elements are incompatible.Note: Alternatively, you can create a mapping as follows:
- Select the source element.
- Press the Ctrl key, and while holding down the Ctrl key select the target element.
- Click the icon Create a New Transform. Or, right-click the target element and select Create Transform.
- When you are finished creating mappings, close the mapping editor.
The mapping session file now contains the mappings that you created.