|
Home >Online Product Documentation >Table of Contents >The PortType Element The PortType ElementThe PortType element describes one or more Operation elements. PortType elements are always created as children of the Definitions element. How to Create a PortType Element
To create a PortType element:
1. Select the Definitions (root) element.
2. Select Diagram > Add > PortType from the Stylus Studio menu.
Alternative: Right-click the Definitions element and choose Add > PortType from the shortcut menu.
Stylus Studio adds a PortType element to the WSDL as a child of the Definitions element. The default name is portType-0, but you can change it. PortType names must be unique within a WSDL document.
How to Rename a PortType Element
To rename a PortType element:
1. Double-click the PortType 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 PortType name in the Value field in the Properties window.
Alternative: You can change the PortType name directly in the WSDL text. PortType Element PropertiesThe following table describes the properties of the PortType element. |