Configuring WSDL File Components

See Also

This topic describes how to configure the root element of the WSDL file, how to add documentation to any element, and how to import XML schemas and WSDL files.

Configuring the Root Element

The root element contains properties for the name of the WSDL file, the target namespace, the default namespace, and namespace prefixes.

To configure the root element:

  1. In the WSDL view, select the root node.
  2. If the Properties window is not visible, choose Window > Properties.
  3. Edit the name, target namespace, and default namespace as necessary.
  4. Edit the values of the namespace prefixes as necessary.

Adding Documentation

You can add documentation to any element in the WSDL file.

To add documentation:

  1. In the WSDL view, right-click an element and choose Add > Documentation.
    A documentation node appears.
  2. Select the documentation node.
  3. If the Properties window is not visible, choose Window > Properties.
  4. Enter the documentation text.

Importing XML Schemas and WSDL Files

You can use the WSDL Editor to import an XML schema file or another WSDL file that is part of your project.

To import an XML schema:

  1. In the WSDL view, right-click the root node and choose Add > Import Schema.
    The Import Customizer dialog box opens.
  2. In the Location list, expand the By File or By Namespace nodes to navigate to and select the XML schema file.
    The Namespace field below the Location list is filled in by the IDE.
  3. (Optional) In the New Prefix field, type the prefix that you want to use.
  4. Click OK.

To import another WSDL file:

  1. In the WSDL view, right-click the root node and choose Add > Import WSDL.
    The Import Customizer dialog box opens.
  2. In the Location list, expand the By File or By Namespace nodes to navigate to and select the WSDL file.
    The Namespace field below the Location list is filled in by the IDE.
  3. (Optional) In the New Prefix field, type the prefix that you want to use.
  4. Click OK.
See Also
Referencing External Schemas
Configuring WSDL Messages
Configuring WSDL Port Types
Configuring WSDL Bindings
Configuring WSDL Service

Legal Notices