The Message Element

The Message element consists of one or more Part elements, which describe the content of a Message using element or type attributes. Message elements are always created as children of the Definitions element.

How to Create a Message Element

To create a Message element:
1. Select the Definitions (root) element.
2. Select Diagram > Add > Message from the Stylus Studio menu.

Alternative: Right-click the Definitions element and choose Add > Message from the shortcut menu.

Stylus Studio adds a Message element to the WSDL as a child of the Definitions element. The default name is Message-0, but you can change it. Message names must be unique within a WSDL document.

How to Rename a Message Element

To rename a Message element:
1. Double-click the Message element in the WSDL diagram.

The name becomes editable.

2. Type a new name and press enter.

Alternative: Using the Properties window

1. Display the Properties window if it is not already open. ( View > Properties).
2. Change the Message name in the Value field in the Properties window.

Alternative: You can change the Message name directly in the WSDL text.

Message Element Properties

The following table describes the properties of the Message element.

Name
Description
Name
The Message name. Must be unique within a WSDL document.
Table 104. Message Element Properties

 
Free Stylus Studio XML Training: