You can use the Cast function to redefine parts of the input or output model in a graphical data map.
In your integration solution, you can create a generic message model, which you can later redefine to a specific model, by using a wildcard, defined as xs:any.
For example, in IBM® Integration Bus, a SOAP message is a common example of a generic model in which you are required to define the business data being exchanged through the SOAP protocol. The predefined SOAP message format defines only the structure of the SOAP envelope and allows you to redefine the Header and Body content.
You can define a wildcard in a schema-based message model as an xs:any element to create a flexible message model that can be redefined later.
You use the Cast function to redefine parts of the input or output model in a message map.
For example, you might have a base type of AddressType, and two derived types of USAddressType and CanadianAddressType. Using the Cast function in the Graphical Data Mapping editor, you can cast AddressType to CanadianAddressType.
For more information, see Casting wildcards in a map.
Then, you must specify the input element type and the output element type as a global type in the associated nested map of the transform. You qualify the xs:any elements in the nested map by defining the input and output elements.