The Part Element

The Part element is used to describe the content of a Message element using an XML Schema element (tns:getQuoteResponse) or as an XML Schema type (xsd:string, for example).

How to Create a Part Element

To create a Part element:
1. Select the Message element whose Part elements you wish to describe.
2. Select Diagram > Add > Message Part from the Stylus Studio menu.

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

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

How to Rename a Part Element

To rename a Part element:
1. Double-click the Part 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 Part name in the Value field in the Properties window.

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

Part Element Properties

The following table describes the properties of the Part element.

Free Stylus Studio XML Training:
W3C Member