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 name= attribute for a Service element (the default name is Service-0). Service elements are always created as children of the Definitions element.

How to Create a Service Element

To 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 Service-0, but you can change it.

How to Rename a Service Element

To 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 Properties

The following table describes the properties of the Definitions element.

Name
Description
Name
The service name. Must be unique within a WSDL document.
Table 102. Service Element Properties

XML-DEV Discussion Forum

XML-DEV is a leading technical forum for XML discussion and a valuable free XML learning resource. Subscribe to the XML-DEV email discussion forum today to help further your XML education.

Apache AXIS

Develop and test Web service applications using Apache AXIS and Stylus Studio.

Banks That Bank on Stylus Studio for Enhanced XML Productivity

Guess what! You can pass go and collect 200 dollars because with Stylus Studio 2006 you can save your banking company time and labor in every day work activities. Come see which banking companies are already taking advantage of Stylus Studio today!

Using DTD in Microsoft Applications

Learn how to integrate DTD's into your Microsoft applications using MSXML or System.XML DTD processing components.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member