Importing Web Services Description Language (WSDL) files into a module along with the options you can use at import time are discussed.
To import WSDL files into a module, right-click the module name in the Business Integration navigation view, and select Import from the context menu. In the Import window, select WSDL/Interface and click Next. The WSDL/Interface Import wizard opens. Alternately, from the menu, you can select File > Import. In both cases if a module is selected then it will be preselected as the module for the imported files. If no module is selected, then you must select the module from the list available or create a new module.
The default selection specified in the second options check box is to leave the inline elements inline. To separate your inline elements, select Extract inline elements and click Finish. If you wish to see a preview of the files to be imported, click Next. The Extract WSDL components page opens. We will continue as if you had clicked Next to show you a preview of the files in the following page of the wizard.
The wizard provides a preview of the files to be imported. The default is to extract business objects; that is, separate your inline elements into business objects in separate files. You may override this choice. Another default is to separate your port type (that is, the interface) from the other WSDL elements. This feature is useful if you plan to use mediation or some other processing using these files and then want to have that work referred to from the same interface.
The check boxes for separating your port type and extracting business objects are only enabled when there are such inline elements in the selected file or its dependencies.
You can also choose to extract to a folder structure derived from the namespaces of business objects, which preserves the physical file structure of the imported files and helps prevent collisions between business objects with the same name.
Click Finish. Your files are imported and inline elements are extracted into separate files.
If you want to extract your inline elements to separate files later, on the first page of the wizard do not select Extract inline elements, which is the default, and click Finish.
When you look at the imported files in the Business Integration navigation, they are similar to the files you would see if the inline elements had been put into separate files; that is, you will see an interface, business objects and Web service port. However, this is a logical representation. The interface, business objects and Web service port are still part of one physical file containing inline elements. To visually indicate that you are looking at logical entities, the interface, business objects and Web service port have a decorator icon that shows they are different from the standard separated interface, business object files and Web service ports. This decorator will also appear on your port types if you separated your port type from the other WSDL elements.
When you want to extract the inline elements into separate files, see Refactoring WSDL files.