# Creating an import statement

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 of abstraction.

To create an import statement, follow these steps:

1. In the Graph view, right-click the Imports group and click Add Child > Import.
2. Select your new import statement.
3. Specify the namespace of the document you wish to import, then specify the location of the document you wish to import.

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.

Related concepts
Editing WSDL files with the WSDL Editor

Related tasks
Creating a new WSDL file
Editing WSDL files

(C) Copyright IBM Corporation 1999, 2005. All Rights Reserved.