A complex type amalgamates other types; it can have
a repeating structure and can contain repeating sub-structures. For mapping
purposes, complex types include messages, global complex types, groups and
database tables. Mapping to and from complex types involves the creation or
specification of a procedure call.
There are three categories of mapping:
- A. Complex type to complex type; for example, UKAddress to USAddress
- B. Simple type to complex type; for example, addressString to USAddress
- C. Complex type to simple type; for example, USAddress to addressString.
In addition, there are four cases of repeating elements:
- <element> --> <element>
- <repeating element> --> <element>
- <repeating element> --> <repeating element>
- <element> --> <repeating element>
Therefore, there are 12 different cases in total.
In nested repeating
structure mappings, you handle each level of repetition with a procedure call
and the lowest level is a regular mapping. The following steps show you how
to create a mapping involving one or more complex types.
Same type complex type to complex type mappings can then be edited
in the Compose Mapping Expression editor. All other mappings that involve
complex types can be edited in their own editor, as with regular mappings.