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.
- If you add import statements using the Source view, or if you copy files with URL references
into your project, the referenced WSDL file may only be accessible through a URL.
In this case, your project may not contain the true closure of all the documents.
Since the WSDL files are referenced, the IDE will perform the same logic that is used when retrieving
WSDL resources using the External WSDL Document(s) wizard and transparently fetch the documents and store
them in a non-version controlled area.
This may cause a delay the first time these documents are accessed on your machine, because the referenced
documents are not local. Subsequent accesses will be faster.
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:
- In the WSDL view, select the root node.
- If the Properties window is not visible, choose Window > Properties.
- Edit the name, target namespace, and default namespace as necessary.
- 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:
- In the WSDL view, right-click an element and choose Add > Documentation.
A documentation node appears.
- Select the documentation node.
- If the Properties window is not visible, choose Window > Properties.
- 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:
- In the WSDL view, right-click the root node and choose Add > Import Schema.
The Import Customizer dialog box opens.
- 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.
- (Optional) In the New Prefix field, type the prefix that you want to use.
- Click OK.
To import another WSDL file:
- In the WSDL view, right-click the root node and choose Add > Import WSDL.
The Import Customizer dialog box opens.
- 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.
- (Optional) In the New Prefix field, type the prefix that you want to use.
- Click OK.
- See Also
- Referencing External Schemas
- Configuring WSDL Messages
- Configuring WSDL Port Types
- Configuring WSDL Bindings
- Configuring WSDL Service
Legal Notices