The New wizard and a special-purpose editor are provided for creating WSDL. A WSDL validator is also provided and can check the validity of a WSDL file when, for example, it is saved.
WSDL Wizard
When [Web Services] > [WSDL] is selected from the [New] wizard, the wizard can create the WSDL. Refer to the following for the wizard settings:
Target namespace and Prefix
Specify the specifying namespace of the WSDL and its prefix.
Protocol and SOAP Binding Options
To use a form that conforms to WS-I Basic Profile, specify SOAP as the protocol and either document literal or RPC literal as the soap binding option.
The document literal option is better suited to program communication. Selection of the widely used document literal option is recommended unless special reasons apply.
Encoded RPC was the widely used form before WS-I Basic Profile 1.0 was established. Select this option if it is necessary to connect using encoded RPC, for example, when connecting to systems that use earlier SOAP services.
The WSDL editor has a [Design] tab and a [Source] tab.
At the [Source] tab, the WSDL can be edited directly as an XML file.
At the [Design] tab, the context menu, the properties views, and the outline view can be used to graphically edit the following elements that comprise the WSDL:
Services
When a service is added and while in the initial state, a port is added.
Port
When the service is selected, a port can be added. When a port is added, specify the binding and the protocol.
Select the port to set the binding. An existing binding can be used, or a new binding can be created and set.
Bindings
A binding can be created in advance, regardless of the port.
Select the binding to set the port type. An existing port type can be used, or a new port type can be created and set.
Port type
A port type can be created in advance, regardless of the binding.
When a port type is created and while in the initial state, one operation is added.
Operation
When the port type is selected, an operation can be added. Also, when an operation is selected, fault can be added.
Messages can be set in relation to input, output, and fault. Existing message can be used, or a new message can be created and set.
Messages
Messages can be created in advance regardless of the operation.
When a message is created and while in the initial state, one part is added.
Parts
When a message is selected, a part can be added.
Select a part to set the type or element settings. An existing type or element can be used or new ones can be created and set.
Imports
Import can be added in the outline view.
Types
Editing can also be performed from the parts settings. In the outline view, a schema under a type can be opened and the schema can be edited.
The validator can check whether or not the WSDL conforms to WS-I Basic Profile 1.1. The results of the validity check are displayed in the Problems view. Or, when the editor is used for editing, marks are attached on the editor. For validator details, refer to "6.2.5.2 Validation".
Note
The Web service-related wizards provided by Interstage Studio do not perform WSDL validation even if the WSDL validation option ([Select whether WSDL validation should be performed on wizards that consume WSDL files])is enabled at the above setup page.