IBM Integration Bus, Version 10.0.0.1 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


Message Sets: Adding a complex type to an element

You can add a complex type to a local element, global element, local attribute, or global attribute.

Before you begin

You must have completed the following tasks:

This task assumes that you have previously added the relevant element or attribute to your message model.

About this task

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:

Procedure

  1. Switch to the Integration Development perspective.
  2. Ensure that the Outline view is visible in the Integration Development perspective of the IBM® Integration Toolkit. If the Outline view is not visible, from the IBM Integration Toolkit menu, click Window > Show View> Outline.
  3. In the Outline view, click the element to which you want to add a new complex type.
  4. In the Message Definition editor, click the Properties tab.
  5. In the Properties Hierarchy, click Logical Properties > Global Element ( or Logical Properties > Local ElementLogical Properties > Global Attribute, or Logical Properties > Local Attribute).
  6. In the Details view, in the Type list, click (New Complex Type) to display the New Complex Type window.
  7. If you want to create a new local complex type, click Create a Local Complex Type, in the Composition list, click the option that you require.
  8. If you want to derive a new local complex type from an existing base type:
    1. Click Derive a new Local Complex Type from existing base type.
    2. In the Base Type list, click the base type that you want to use. Depending on the base type you select, the Composition and Derived By lists might become active.
    3. If the Composition and Derived By lists are active, click the options that you require in both lists.
  9. If you want to add the new complex type as a global complex type, select the Create as Global Complex Type check box, and specify a name for your new complex type in the Name field.
  10. Click OK to close the New Complex Type window and add the new complex type to your message model.

Results

Any changes that you make are reflected throughout where the element to which you are adding the complex type occurs.


ad12450_.htm | Last updated 2015-05-28 20:50:45