Introduction to Partner Links

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. 4-10 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite Figure 4–10 Partner Link Creation in Oracle BPEL Designer The Create Partner Link dialog appears.

4. Complete the fields for this dialog, as described in

Table 4–3 . The following sections describe the impact of partner link creation on the SOA Composite Editor.

4.4.1.1 Partner Links for an Outbound Adapter

Table 4–4 describes the impact on the SOA Composite Editor. Figure 4–11 shows how this method of creation appears in the SOA Composite Editor. Figure 4–11 SOA Composite Editor Impact Table 4–4 Impact of Partner Link Creation on the SOA Composite Editor Creating the Following for a BPEL Process in Oracle BPEL Designer... Displays the Following in the SOA Composite Editor... A partner link for an outbound adapter ■ A reference handle for the BPEL service component ■ A reference representing the outbound adapter in the composite ■ A wire connecting the BPEL service component to the adapter reference Getting Started with Oracle BPEL Process Manager 4-11 4.4.1.2 Partner Links for an Inbound Adapter Table 4–5 describes the impact on the SOA Composite Editor. Figure 4–12 shows how this method of creation appears in the SOA Composite Editor. Figure 4–12 SOA Composite Editor Impact 4.4.1.3 Partner Links from an Abstract WSDL to Call a Service Table 4–6 describes the impact on the SOA Composite Editor. 4.4.1.4 Partner Links from an Abstract WSDL to Implement a Service Table 4–7 describes the impact on the SOA Composite Editor. Figure 4–13 shows how this method of creation appears in the SOA Composite Editor. Table 4–5 Impact of Partner Link Creation on the SOA Composite Editor Creating the Following for a BPEL Process in Oracle BPEL Designer... Displays the Following in the SOA Composite Editor... A partner link for an inbound adapter ■ A service for the BPEL service component ■ A service representing the inbound adapter in the composite ■ A wire connecting the inbound adapter service to the BPEL service component Table 4–6 Impact of Partner Link Creation on the SOA Composite Editor Creating the Following for a BPEL Process in Oracle BPEL Designer... Displays the Following in the SOA Composite Editor... A partner link from an abstract WSDL to call a service A reference handle with an interface and callback interface defined for the BPEL service component Table 4–7 Impact of Partner Link Creation on the SOA Composite Editor Creating the Following for a BPEL Process in Oracle BPEL Designer... Displays the Following in the SOA Composite Editor... A partner link is created from an abstract WSDL to implement a service A service with an interface and callback interface for the BPEL service component is created. Note: If an external Simple Object Access Protocol SOAP reference with the specified interface and callback interface exists in the SOA Composite Editor, you can either create a new external SOAP reference and wire to it or wire to the existing external SOAP reference.