You can define the structure of a complex type by using the Add Element function. You can reorder the position of elements in your complex structure. You can also use global types such as XML schemas, DFDL schemas, JSON schemas, and Swagger documents to set the type of user-defined elements.
In a message map, add a user-defined element with <Anonymous> type to your input or output assembly. For more information, see Adding and renaming a user-defined element.
Note: You cannot change the cardinality in the Graphical Data Mapping editor for user-defined elements that are within the choice group that is created for you when you define elements at the level of the xsd:any wildcard. The cardinality is determined by the cardinality set on the xsd:any.
Complete the following steps to define the structure of a complex element:
Edit the message map, and define transformations between the input message assembly and the output message assembly. For more information, see Specifying a transform (mapping operation).