Creating a Standalone Map

A standalone map is visible in the Transformations folder of the Project tab and represents a set of one or more mappings between source and destination nodes.

The set of source nodes available in the From Orchestration pane and destination nodes in the To Orchestration panes of the Mapping Editor are determined by the schema types defined for the source and destination variables of the map. A standalone map can be used to create any number of Map Variables activities in the same orchestration or in other orchestrations in the same project. For example, you could create a standalone map called myMap that contains a set of mappings between an source XML Schema called IncomingOrder and a destination XML Schema called ShippingOrder.

You can reuse this map by selecting the myMap entity from the Transformations folder in the Project tab and dropping it onto any orchestration in the project. This dropping action creates a new Map Variables activity in the orchestration with the same set of mappings as defined for the map called myMap. The new inline map created for the Map Variables activity is a copy of parent standalone map. If you change the mappings between the source and destination nodes in myMap, the changes are not propagated to new Map Variables activity because it is a local copy. For more information see Creating a Map Variables Activity from a Standalone Map.

To create a standalone map:

Procedure

  1. Create a new instance of a standalone map using one of the following options:
    • Select the Project tab, right-click on the Transformations folder, and select the New Standalone Map option from the menu.
    • From the toolbar menu, select the Project > New Standalone Map option.
    • In the Project tab, click New Standalone Map (New Standalone Map icon).
    An instance of a standalone map shows in the Maps folder in the Project tab
  2. Double-click the instance of the standalone map in the Transformations folder in the Project tab. The Mapping Editor opens in the lower part of the pane.
  3. Select the source schemas.
  4. Select the destination schemas
  5. Drag a source node from the From Orchestration pane to a destination node in the To Orchestration pane. If the mapping is valid, a link (line) displays from the source node to the destination node, indicating that a mapping rule has been established. Repeat this step until all the required nodes have been mapped.
    Note: You can find a node in a source or destination schema using the Find dialog box. For more information about finding a node in a source or destination schema, see Assigning Function(s) to a Mapping Rule.
  6. Optional: Assign function or functions to a mapping rule. For more information, see Assigning Function(s) to a Mapping Rule.
  7. If possible, test your mappings to ensure that the output is what you expect. For more information about testing mappings, see Testing maps.