Casting a wildcard defined as xsd:any into a specific type for a SOAP message
You can use the Cast function to redefine a wildcard element, that is, an element with type xsd:any, into a specific type. Each type is described by a schema.
About this task
You can transform a SOAP message that is defined by using the predefined format SOAP_Domain_Msg. This message type contains a Header, a Body, and an Attachment part. Each part contains an element that is named any to represent a wildcard, that is, an element of type xsd:any. The Header and Body sections also include an element that is named AnyAttribute. You can cast elements and attributes included in any of these SOAP sections by using the Cast function.
The following figure shows the message map in the Graphical Mapping Data editor after you create a message map to transform a SOAP message:
Procedure
To cast an element that is described as any or as anyAttribute in the message map, complete the following steps:
Results
A wildcard element is redefined to a specific type.
What to do next
Define transformations between the input message assembly and the output message assembly. For more information, see Specifying a transform (mapping operation).