Editing WSDL Resources

The key components (elements) of an abstract WSDL file are messages, portTypes, and operations. Three different views are available when editing the base WSDL file or one of its components. These editing views, accessed using the toolbar buttons (see WSDL toolbar buttons) are described below.

View

Description

Model

This is the default view.

  • When a WSDL resource is selected, the Configuration tab provides fields for setting document level properties as well as an interface for copying existing WSDL definitions. For more information, see Configuration).

    To add a Message or PortType component to the WSDL resource, drag the representative icon from the WSDL palette into design panel. The Message and PortType components can then be selected and edited.

  • When a Message component is selected in the project, the Configuration tab provides fields for naming and describing the component and a table for adding part components. For more information, see Message.

  • When a PortType component is selected, the Configuration tab provides fields for naming and documenting the PortType component. For more information, see PortType.

    To add an Operation component to the PortType, drag the representative icon from the WSDL palette into the design panel. The Operation component can then be selected and edited.

  • When an Operation component is selected, the Configuration tab provides fields for naming and describing the component and a table for specifying the messages to be used as input and output. For more information, see Operation.

Note: The WSDL palette’s model view enables the creation of an “abstract” WSDL file that may be used in a web service where additional SOAP endpoints and binding information are added. To specify binding and endpoint information in the WSDL file, use the content or source view.

Content

The content view provides a tabular view of the WSDL file, with the components (elements and attributes) of the WSDL file listed on the left, and the component values listed on the right.

The content view provides access to all of the elements and attributes used to build WSDL files, which appear as choices on the factory bar located at the bottom of the view. The content view is useful when viewing concrete WSDL files or when you need to add elements to your resource that are not available in the model view - such as binding or service elements.

The Content view provides the same editing environment used to create XML instance resources. For details on the content view, review the documentation for the Instance resource, in TIBCO Designer™ Palette reference.

Source

The source view allows you to edit the source code of your document directly. If you are comfortable with WSDL syntax, editing directly in the WSDL source may be useful. To make the other panels reflect the changes you've made in the source, click 'Reparse' at the top of the panel. Any errors found upon reparse get reported.