- Developing SOA Applications with Oracle SOA Suite
- Getting Started with Oracle SOA Suite
- Getting Started with Developing SOA Composite Applications
- Adding Service Components
- How to Add a Service Component
How to Add a Service Component
To add a service component:
- At the top of the Components window, click Components.
- From the SOA section, drag a component into the designer.
Figure 2-2 shows a BPEL process being added to the designer.
Figure 2-2 Adding a BPEL Process to the SOA Composite Application
Description of "Figure 2-2 Adding a BPEL Process to the SOA Composite Application"A specific dialog for the selected service component is displayed. Table 2-4 describes the available editors.
Table 2-4 Starting Service Component Editors
Dragging This Service Component... Invokes The... BPEL Process
Create BPEL Process dialog to create a BPEL process that integrates a series of business activities and services into an end-to-end process flow.
Business Rule
Create Business Rules dialog to create a business decision based on rules.
Human Task
Create Human Task dialog to create a workflow that describes the tasks for users or groups to perform as part of an end-to-end business process flow.
Mediator
Create Mediator dialog to define services that perform message and event routing, filtering, and transformations.
Spring Component
Create Spring dialog to create a spring context file for integrating Java interfaces into SOA composite applications.
- Configure the settings for the service component, and click OK. For help with a service component dialog, click Help or press F1.
Figure 2-3 shows the BPEL Process dialog with data entered to create the OrderProcessor BPEL process. The process is selected to be asynchronous. The Expose as a SOAP Service check box directs Oracle JDeveloper to automatically create this service component connected to an inbound SOAP web service.
- Click OK.
Figure 2-4 shows the OrderProcessor BPEL process service component in the designer. A SOAP service binding component called orderprocessor_client_ep in the left swimlane provides the outside world with an entry point into the SOA composite application. If the Expose as a SOAP Service option was not selected in the Create BPEL Process dialog, the orderprocessor_client_ep service does not appear. You can add a service later by following the steps in How to Add a Service Binding Component.
You can more fully define the content of the service component now or at a later time. For this top-down example, the content is defined now.
- From the File main menu, select Save All.