Message Sets: Adding a simple type to an element or attribute
You can add a simple 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
To add a new simple type:
Procedure
- Switch to the Integration Development
perspective.
- 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.
- 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 ( or Logical Properties > Local ElementLogical
Properties > Global Attribute, or Logical Properties
> Local Attribute).
- 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.
Results
Any changes that you make are reflected throughout
where the element to which you have added a new simple type occurs.