Use the following procedure to add a new partner link type from
Interfaces
view:
Display the Interfaces view. This view is not part of the default perspective. To open it, select
Window > Show View > Interfaces
.
Ensure that the port type from the WSDL file you want to refer to is displayed in the list.
Expand a
Port Type
to display an operation you want to use, but does not have an associated Partner Link Type yet.
BPEL activity
should be selected.
Drag the
operation
to the Process Editor canvas to open the Partner Link Type wizard, as shown.
Do one of the following
Select
Use an existing Partner Link Type
to select from the list, and then click
Finish
.
Select a Partner Link Type definition from
Add to Partner Link Type
, and add a second role (with its associated port type) to the current partner link type. A partner link type can have two roles; they represent two different services that communicate asynchronously. The picklist includes partner link types from Interfaces that currently have only one role. Type in a new role name in the
Role
text box, then click
Finish
.
Select
Create Partner Link Type
for a new Partner Link Type name and
Role
name, and then click
Next
.
If you created a new Partner Link Type in Step 5, you can add it to an existing WSDL file or create a new file for the definition. Do one of the following:
Type in an URL in the
Create new WSDL file
field to qualify all names and message types for this Partner Link Type definition. Then enter the WSDL filename and pathname in the
Location
field, as the example shows in the following illustration, or click
Browse
to create a new filename and location. Type the file name in the
File name
field of the
Open
dialog.
Select a WSDL file from
Add to WSDL file
to add your new Partner Link Type definition.
Click
Finish
.
If you add the Partner Link Type definitions to a new WSDL, Process Developer automatically adds the WSDL to Project Explorer and to the Imports node in Outline view.