BPEL Designer: Adding WSDL and XML Schema Imports
See Also
Business process authoring involves the exchange and manipulation of XML data. XML data types are typically defined in XML schema files (.xsd files). Business processes use XML Schema files (.xsd) to define the business data that will be used by the business process. Business processes also involve message exchange with partner services. The interfaces for these partner services are defined in their WSDL files.
To reference the data from external or new WSDL and XML Schema files, you can do one of the following:
- Use cross-project XML file references, which means that you can add references to XML Schema and WSDL files located in other IDE projects from within your BPEL Module project . For more information about adding See About Cross-Project XML File References.
- Import external or new files into your business process. About importing, see the procedure below.
To import WSDL and XML Schema files, follow these general steps:
- Add a resource file into the BPEL Module project:
- Import these files to your process.
Without this step, you will be unable to reference these files in your business process.
To add a resource file (.wsdl or .xsd) as an import:
- In the BPEL Logical View of the Navigator window, right-click the Imports node and choose one of the following, depending on the format of the imported file: Add WSDL Import or Add Schema Import.
You can also right-click the process in the Design view and select Add > WSDL Import or Add > Schema Import.
- In the Create New Import dialog box, select the file in your project structure to add it as import.
- Note that you first need to add the files stored in your project directory to the project structure. Then you can add them as imports. The files that are already referenced are displayed in the strikethrough style.
- View the values in the read-only Namespace and Type fields and click OK.
The resource file you have just added appears under the Imports node in the Navigator window.
- See Also
- About XML Schema Tools
- About Cross-Project XML File References
- Creating XML Schema Files
- Creating a WSDL File From Scratch
- Retrieving XML Resources
- BPEL Designer Navigator: BPEL Logical View
Legal Notices