This topic describes how to add a simple type to a message.
To complete the tasks in this topic area, you must have completed the following tasks:
To add a simple type to your message model:
Switch to the Enterprise Service Tools perspective.
Ensure that the Outline view is visible in the Enterprise Service Tools perspective of the workbench. If the Outline view is not visible, from the workbench menu, click
.
Note: You can also perform this procedure by selecting the Types folder in the message definition editor.
In the Outline view, right-click the
Types folder to which you are adding a simple type then on the pop-up menu click one of the following:
- Add Simple Type Restriction
- Add Simple Type List
- Add Simple Type Union
A simple type, of type string, is added and assigned a default name.
Either type a new name for the simple type or press Enter to accept the default.
You can now configure the local element to your exact requirements. For further information on configuring message model objects see Configuring message model objects.