Rational Developer for System z

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: (See Files types for the source and target entities in request or response mapping session files.)
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:

  1. Right-click the mapping session file that you want to edit.

  2. Select Open With > Mapping Editor. The mapping editor opens.

  3. In the mapping editor:
    1. Enlarge the editor area until you can see both the source data (on the left) and the target data (on the right).
    2. 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:
      1. Select the source element.
      2. Press the Ctrl key, and while holding down the Ctrl key select the target element.
      3. Click the icon Create a New Transform. Or, right-click the target element and select Create Transform.
    3. When you are finished creating mappings, close the mapping editor.

The mapping session file now contains the mappings that you created.


Feedback