WebSphere Message Brokers
File: ad12450_
Writer: Terry Cowling

Task topic

This build: July 31, 2007 21:24:30

Adding a complex type to an element

Before you start:

You must have completed the following tasks:

This task assumes that you have previously added the element to which you are adding the complex type to your message model.

When you add a complex type to an element, 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 to an element:

  1. Switch to the Broker Application Development perspective.
  2. Ensure that the Outline view is visible in the Broker Application Development perspective of the workbench. If the Outline view is not visible, from the workbench 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.
  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 then, 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.

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

Related concepts
Message model objects
Message model objects: types
Message model objects: complex types
Related tasks
Configuring message model objects
Deleting objects
Related reference
Message model object properties
Complex type logical properties
Complex type CWF properties
Complex type XML properties
Complex type TDS properties
Documentation properties for all message set objects
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:24:30

ad12450_ This topic's URL is: