Define the location of the resource file containing the target namespace. Select a workspace resource, such as sample data, WSDL, or XSL file.
If you import and open a BPEL process into Process Developer before adding a WSDL file to Project Explorer, Process Developer reports unresolved references to port types because the WSDL is unknown.
The recommended practice for adding WSDL is to use Participants. For details, see
Using the Participants View
You can add WSDL location and namespace manually. You can also add schema and other resources as follows.
From Outline view, select
Right-mouse click and select
Add > Declaration > Import
From the Import Types list, select a type.
If you select XSL, the Type URI of the file is added. This type identifies the encoding language used in the file as shown:
In the Location group, do one of the following:
and browse to the Project Explorer folder containing the file.
Select URL and type in a Web location of a file, such as:
Note that when the process is deployed and running, this URL must be available.
Notice that the target namespace is displayed for the WSDL or schema file. If you paste a pathname or URL into the WSDL (or Schema) file location field, you can press the Tab key to see the target namespace. Click
when you are through.
In the Outline view, right-mouse click the Imports node, and select
To modify an import, double-click it, or in Properties view, click the
Dialog (...) Button
next to Location.
Process Developer adds the target namespace to the BPEL process and associates the namespace with a default prefix. Also, the port types, operations, and partner link types defined in the WSDL are available for use in the process.
The following illustration shows how the Process Developer displays a WSDL location and namespace. Note that Process Developer adds a new namespace prefix with a default name
Namespace Prefix and Declaration
for more information.