WebSphere Message Brokers
File: ar37510_
Writer: Cerys Giddings

Task topic

This build: July 31, 2007 21:36:42

Mapping from source: by name

The Map by Name wizard is used to map complex types by examining the names of source and target elements to create mappings if the names match. The Map by Name wizard can also be used to map database columns. The following steps describe how to map from source using the Map by Name wizard.

Using the Map from Source wizard

  1. Select the source and target complex elements, database, schema or table that you want to map by clicking them.
  2. Click Map > Map by Name. The Map by Name wizard opens to allow you to perform mapping by name.
  3. Choose the appropriate option from the Map from Source wizard:
    • Map leaves. This option maps only the parts of the structure below the element that match each other.
    • Map immediate children. This option maps only the immediate children of the source element to the immediate children of the target element that match each other. This option is available only when the selected source and target elements have immediate children that are mappable.
  4. After selecting the Map leaves or Map immediate children option, specify how names are matched.
    • Map items of same names only. This option matches items of the same name, and is selected by default. Two names are considered to be the same if they contain the same alphanumeric characters in the same order. This comparison is not case sensitive, so FIRST_NAME and FirstName are considered to be a match.
    • Map items of same and similar names. This option matches items with similar names. Two names are considered to be similar if one name is a truncation of the other, such as first_name and name, or PART_NUMBER and partNum. Also, if one name is a contraction of another, such as November and nvmbr, they are considered to be similar.
  5. Verify that the mappings are relevant and edit them manually if necessary. You might need to delete unwanted mappings and add extra mappings.

The Map by Name wizard opens automatically when you use the drag and drop method to map from source where the source and target are complex types with different type definitions or where the source type is not derived from the target type.

Related concepts
Message Mapping editor
Creating message mappings
Related tasks
Mapping from source: by selection
Mapping a target element from source message elements
Mapping a target element from database tables
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:36:42

ar37510_ This topic's URL is: