The import statement is used to import other WSDL documents or
XML schemas into your WSDL document. This enables you to have more modular
WSDL documents. The use of the import statement allows the separation
of the different elements of a service definition into independent documents,
which can then be imported as needed. This technique helps in writing clearer
service definitions, by separating the definitions according to their level
To create an import statement, complete the following steps:
In the Outline view, right-click the Imports folder and
click Add Import. Select your new import statement.
In the Properties view, click the General pane.
Click the icon to the right of the Location field to open
the Select File window..
Select a WSDL file or XML Schema to import by doing one of the
- Select a file from another project in the workspace in the Workspace
- Click Import Files and then Browse to
find and select files outside the workspace. Click Finish after
completing this Import wizard.
Type any information about the import statement you want the user
to read in the Documentation pane.
Once you specify the location of the document you wish to import,
the import object's label changes to reflect the specified location. Imported
WSDL components may now be visible within the editor.