Symbols for WSDL Elements

Each element in a WSDL document displayed in the diagram pane is represented by its own symbol; tool tips, which are displayed when you hover over a node in the diagram, identify the node's type (binding, service, and so on). The symbols used in the diagram are summarized in Table 113.

Symbol
Represents
Description
Service (wsdl:service)
Names a Web service.
Types (wsdl:types)
Data type definitions required by WSDL Messages. Typically defined using an XML Schema (either local or referenced).
Port (wsdl:port)
Defines a single address (SOAP or HTTP) for a Binding.
Message (wsdl:message)
The messages used by the Web service. Contains one or more parts elements.
Part (wsdl:part)
The name and type of parameters associated with a Message.
portType (wsdl:portType)
Describes the Messages in a Web service operation.
Operation (wsdl:operation)
A service (a stock quote service, for example) hosted on the Internet.
Binding (wsdl:binding)
Specifies the protocol (SOAP or HTTP) used to communicate with the operation.
Input (wsdl:input)
Describes the input required by the Operation with which the Input is associated. (A text string representing a stock ticker, for example.)
Output (wsdl:output)
Describes the output returned by the Operation with which the Output is associated. (A text string representing a stock value, for example.)
Fault (wsdl:fault)
Provides error handling for a Web service Operation. An Operation can have one or more Faults defined for it.
Documentation (wsdl:documentation)
Text that describes the element. You can associate a documentation element with any WSDL element.
Table 113. Symbols Used in the WSDL Diagram

Nodes can be expanded and collapsed using the plus and minus symbols, respectively, that appear on the right side of the node. In Figure 408, for example, the Part1 Message Part has been expanded; the certifyContactRequestMessage Message has not.

Symbols for XML Schema Elements

The WSDL Editor diagram pane displays symbols for XML Schema elements if you have a Schema element defined in your WSDL document. See Table 1 for more information about symbols for XML Schema elements. See The Types Element to learn more about using XML Schema in a WSDL.

Displaying Element Details

To streamline the diagram, most elements are displayed with their details hidden by default. You can change the settings

The mechanics of changing display settings are the same, regardless of where you change them. For each node property, you can choose to

If all of an element's properties have the same show/hide setting, that value is displayed in the Inline Visibility in Diagram field. If no value is displayed in the Inline Visibility in Diagram field, it means that two or more properties have different show/hide settings.

You can change the display for classes of elements (all Message Parts, for example) using the Schema Diagram Properties dialog box, shown in Figure 411. (The Properties window, which appears to the left of the Diagram tab, displays all the properties for any node you select.)

To display the WSDL Details page of the Options dialog box:
1. Select Tools > Options from the Stylus Studio menu.
2. Navigate the Module Settings > WSDL Editor branch and click WSDL Details.
To display the Schema Diagram Properties dialog box:
To change element properties display:
1. Display the either the Schema Diagram Properties dialog box, or the WSDL Details page of the Options dialog box.
2. Select the element whose properties display you want to change.

 
Free Stylus Studio XML Training: