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 112.

Table 112. Symbols Used in the WSDL Diagram
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.

Nodes can be expanded and collapsed using the plus and minus symbols, respectively, that appear on the right side of the node. In Figure 446, 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

l For all WSDL documents using the WSDL Details page on the Options dialog box.
l For the current WSDL document using the Schema Diagram Properties dialog box. Using the Schema Diagram Properties dialog box overrides the default settings set using the Options dialog box.

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

l Show the property
l Show the property only if it is not empty (that is, it has not been defined)
l Hide the node

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 449. (The Properties window, which appears to the left of the Diagram tab, displays all the properties for any node you select.)

 
Free Stylus Studio XML Training: