Introduction to Activities Oracle Fusion Middleware Online Documentation Library

4-8 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite Figure 4–9 Partner Link Dialog Table 4–3 describes the fields of this dialog. Table 4–3 Create Partner Link Dialog Fields Field Description Name A unique and recognizable name you provide for the partner link. Process Displays the BPEL process service component name. WSDL URL The name and location of the WSDL file or Java interface that you select for the partner link. Click the SOA Service Explorer icon second icon from the left above the WSDL URL field to access a window for selecting the WSDL file or Java interface to use. Java interfaces display for selection under the References folder with a name of javaEJB. If the component with which you are wiring this partner link uses WSDL files and you select a Java interface and click OK , a message displays indicating that this component requires a WSDL interface. If you click Yes, a compatible WSDL file is created based on the Java interface. For more information about integrating components that use Java interfaces into SOA composite applications, see Chapter 49, Integrating the Spring Framework in SOA Composite Applications. Partner Link Type The partner link defined in the WSDL file. Partner Role The role performed by the partner link. My Role The role performed by the BPEL process service component. In this case, the BPEL process service component does not have a role because it is a synchronous process. Note: The Partner Link Type, Partner Role, and My Role fields in the Create Partner Link dialog are defined and required by the BPEL standard. Getting Started with Oracle BPEL Process Manager 4-9

4.4 Creating a Partner Link

The method by which you create partner links within the BPEL process in Oracle BPEL Designer impacts how the partner link displays above in the SOA Composite Editor. This section describes this impact. The WSDL file can be on the local operating system or hosted remotely in which case you need a URL for the WSDL. Likewise, creating and wiring a service or reference binding component to a BPEL process service component in the SOA Composite Editor causes a partner link to display in Oracle BPEL Designer.

4.4.1 How to Create a Partner Link

To create a partner link: 1. In the SOA Composite Editor, double-click the BPEL process service component. Oracle BPEL Designer is displayed.

2. In the Component Palette, expand BPEL Constructs.

3. Drag a Partner Link into the appropriate Partner Links swimlane, as shown in

Figure 4–10 . Best Practice: As a best practice, always create and wire Oracle Mediator and BPEL process service components in the SOA Composite Editor, instead of in Oracle BPEL Designer. If you add an Oracle Mediator or BPEL process partner link to your BPEL process in Oracle BPEL Designer and connect either partner link to your BPEL process through an invoke activity, the wiring is not automatically reflected above in the SOA Composite Editor. You must explicitly wire the Oracle Mediator or BPEL process service component to your BPEL process again in the SOA Composite Editor. Note that this is not an issue with human task or business rule partner links in Oracle BPEL Designer; both are also automatically wired in the SOA Composite Editor.