|
Home >Online Product Documentation >Table of Contents >The Service Element The Service Element
The Service element defines the Web service, and typically consists of one or more Port elements, and an optional Documentation element. You can define a How to Create a Service ElementTo create a Service element:
1. Select the Definitions (root) element.
2. Select Diagram > Add > Service from the Stylus Studio menu.
Alternative: Right-click the Definitions element and choose Add > Service from the shortcut menu.
Stylus Studio adds a Service element to the WSDL. The default name is How to Rename a Service ElementTo rename a Service element:
1. Double-click the Service element symbol 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 Service name in the Value field in the Properties window.
Alternative: You can change the Service name directly in the WSDL text. Service Element PropertiesThe following table describes the properties of the Definitions element. |