Using Time Literals Using Interval Literals

Using SOA Composites with BPM Projects 23-1 23 Using SOA Composites with BPM Projects This chapter describes how to use SOA Composites to design a BPMN process and integrate it with other SOA components. SOA Composites show the dependencies between a BPMN process and the other components of your BPM project. This chapter includes the following sections: ■ Section 23.1, Introduction to SOA Composites ■ Section 23.2, Opening the SOA Composite in a BPM Project ■ Section 23.3, Opening BPMN Processes from the SOA Composite in a BPM Project ■ Section 23.4, Adding a BPMN Process from the SOA Composite Editor ■ Section 23.5, Integrating with BPEL Processes Using the SOA Composite ■ Section 23.6, Adding a BPMN Process as a Partner Link in a BPEL Process ■ Section 23.7, Connecting to a BPMN Process Using Web Services ■ Section 23.8, Building a BPM Project For detailed information about SOA Composites, see Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.

23.1 Introduction to SOA Composites

SOA Composites group interrelated components, enabling the integration of different technologies into a single application. The composite provides a single deployment and management model, end-to-end data security, and unified metadata management to the components it contains. BPM projects use the SOA technology. All BPM projects are layered on top of an SOA Composite. They use this composite to store information that describes the relationship between the different components in your BPM project and the services they expose. BPMN processes are a component in the SOA Composite. You can view how a BPMN process relates to the rest of the components in the SOA Composite, using the SOA Composite editor. The SOA Composite of a BPM project shows the following: ■ The available SOA components to use in your BPM Project ■ The BPMN and BPEL processes in your BPM Project ■ The relationship between the SOA components and the processes 23-2 Modeling and Implementation Guide for Oracle Business Process Management If the SOA Composite contains components or external references that expose services, then these appear in the business catalog. See Chapter 12, Using the Business Catalog , for more information about the business catalog. When you add a component to the SOA Composite, it automatically appears in the business catalog so that you can use it in your BPM project. The SOA Composite is the unit that you use to deploy your BPM project. The components and dependencies that appear in the SOA Composite specify how to deploy a project. If you remove a process or a wire from the SOA Composite, then even if they still appear in the BPM Project they are ignored when you deploy the project.

23.1.1 Understanding the Relationship Between SOA Composites and SOA Components

When you run a BPM project the SOA engine creates a SOA composite instance. The SOA composite instance contains an instance of each of the components defined in the SOA composite. For example, if your SOA composite defines a BPMN process and a human Task, then the SOA composite instance contains a BPMN process instance and a human task instance. The components in a SOA composite instance are independent from each other. When you terminate one of them, this does not affect the other components in the SOA composite instance. In a SOA composite instance that contains an instance of a BPMN process and an instance of a Human Task, terminating the BPMN process instance does not terminate the Human Task. After terminating the BPMN process, the Human Task instance is still available and you can access it using Oracle Worklist application. But completing that Human Task does not have any effect on the terminated process. In a similar way, when an interrupting timer or message boundary event arrives to a user task, the BPMN process instance leaves the user task but the associated Human Task remains available. Because the interrupting timer or message boundary event arrived before the user completes the user task, the human task remains unfinished, and you can still access it thought the Worklist application. However running that human task does not have any effect on the BPMN process.

23.1.2 Working with SOA Components

All the SOA components and external references that are exposed as services in the SOA Composite appear in the business catalog in your Business Project. If you created your BPM project based on an existing SOA project, then all the components and external references exposed as services in your SOA project automatically appear in the business catalog. If there are activities in your BPMN process that use a component in their implementation, then the SOA Composite shows a wire between the BPMN process and the component. Wires represent a relationship between a service and a reference. When you save a BPMN process Oracle BPM Studio automatically updates the wires between the BPMN process and the components it uses. Services represent the interface a component exposes. References represent the service interfaces a component requires. For more information about services and references, see Oracle Fusion Middleware Developers Guide for Oracle SOA Suite. To implement the activities in your BPMN process you must assign them an SOA component. To add these components to your BPM Project you must use the SOA