You can add a complex type to a local element, global element, local attribute, or global attribute.
You must have completed the following tasks:
This task assumes that you have previously added the relevant element or attribute to your message model.
When you add a complex type to an element or attribute, you can either create a new complex type or derive a new complex type from an existing base type.
To add a new complex type:
Any changes that you make are reflected throughout where the element to which you are adding the complex type occurs.