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:
- Switch to the Broker Application Development
perspective.
- 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.
- In the Outline view, click the element to which you want to add
a new simple type.
- In the Message Definition editor, click the Properties tab.
- In the Properties Hierarchy, click Logical Properties
> Global Element.
- 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.
- In the New Simple Type window, in the Base
Type list, click the type that you want to use.
- 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.
- 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.