Adding a simple type to an element

Before you start:

To complete this task, you must have completed the following tasks:

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

To add a new simple 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 simple 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 property, select (New Simple Type Restriction), (New Simple Type List), or (New Simple Type Union) to open the relevant New Simple Type window to create a simple type of the type that you specify.
  7. In the New Simple Type window, in the Base Type list, click the type that you want to use.
  8. Optional: If you want to add the new simple type as a global simple type, select the Create as Global Simple Type check box and specify the name for your new simple type in the Name field.
  9. Click OK. A simple type is immediately added to your message model.

Any changes that you make are reflected throughout where the element to which you have added a new simple type occurs.

Related concepts
Message model objects
Message model objects: types
Message model objects: simple types
Related tasks
Configuring message model objects
Deleting objects
Related reference
Message model object properties
Simple type logical properties
Simple type CWF properties
Simple type XML properties
Simple type TDS properties
Documentation properties for all message set objects