Introduction to Callbacks Introduction to Services and References

Working with Services and References 15-7 Figure 15–4 BPEL Process Using a Mediator to Invoke a BPMN Process This figure shows a BPEL process that invokes a BPMN process through a Mediator. The Mediator Service When you add a mediator to the SOA composite the business catalog generates a mediator service. This component represents the mediator service. It contains the operations you invoke to communicate with the mediator. You can invoke the operations defined in this service using service tasks, message events, or send and receive tasks, depending on the type of operation. The business catalog stores mediator services in the Mediator module located in the Services predefined module. It creates a separate module for each of the mediator service components. The name of this module is the name of the component. Item 2 in Figure 15–3 shows the exposed service Mediator_ep for the mediator component shown in the SOA composite The Mediator Interface If you select the SOA binding option when creating the mediator, then Oracle JDeveloper creates the service interface. This interface defines the signature of the operations you can use to access the mediator from outside the SOA composite. You can configure your BPMN process to use this interface, so that the BPMN and the mediator have the same interface. The business catalog stores service interfaces in the Externals module located in the References predefined module. Item 1 in Figure 15–3 shows the exposed service interface component Mediator_ep for the mediator component shown in the SOA composite. For information on how to use an interface to define the process interface, see Section 21.5, Using Message Events with an Interface from the Business Catalog to Define Your Process Interface and Section 21.9, Using Send and Receive Tasks with an Interface from the Business Catalog to Define Your Process Interface . 15-8 Modeling and Implementation Guide for Oracle Business Process Management The Reference Interfaces The SOA composite shows an interface for each component the mediator adapts. The business catalog stores service interfaces in the Mediator module located in the References predefined module. It creates a separate module for each of the Mediator service components. The name of this module is the name of the component Item 1 in Figure 15–3 shows the reference interface component ProcessProcessService for the mediator component shown in the SOA composite. For more information on SOA mediators, see part Using the Oracle Mediator Service Component in Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.

15.4 Introduction to BPEL Processes in Oracle BPM

BPEL processes enable you to model a business process using a standard different from BPMN. Depending on the nature of the process, some processes might be easier to implement in a certain technology. Oracle BPM enables you to integrate the BPEL and BPMN processes in your project, getting the best of the two standards. Figure 15–5 shows an SOA composite that contains multiple BPEL processes and how the business catalog displays them. Figure 15–5 BPEL Process Components in Business Catalog This figure shows multiple BPEL processes in the SOA Composite and how the business catalog displays this components in Oracle BPM. The BPEL Service Component When you add a BPEL process to the SOA composite, the BPEL service component appears in the business catalog. This component represents the BPEL process service. You can use this component to implement service tasks or message events, or send and receive tasks, depending if the BPEL process is synchronous or asynchronous.