Viewing Data Sent to Oracle BAM Server Undeploying the Composites for the WebLogic Fusion Order Demo Application

Part II Part II Using the BPEL Process Service Component This part describes the BPEL process service component. This part contains the following chapters: ■ Chapter 4, Getting Started with Oracle BPEL Process Manager ■ Chapter 5, Introduction to Interaction Patterns in a BPEL Process ■ Chapter 6, Manipulating XML Data in a BPEL Process ■ Chapter 7, Invoking a Synchronous Web Service from a BPEL Process ■ Chapter 8, Invoking an Asynchronous Web Service from a BPEL Process ■ Chapter 9, Using Parallel Flow in a BPEL Process ■ Chapter 10, Using Conditional Branching in a BPEL Process ■ Chapter 11, Using Fault Handling in a BPEL Process ■ Chapter 12, Transaction and Fault Propagation Semantics in BPEL Processes ■ Chapter 13, Incorporating Java and Java EE Code in a BPEL Process ■ Chapter 14, Using Events and Timeouts in BPEL Processes ■ Chapter 15, Coordinating Master and Detail Processes ■ Chapter 16, Using the Notification Service ■ Chapter 17, Using Oracle BPEL Process Manager Sensors 4 Getting Started with Oracle BPEL Process Manager 4-1 4 Getting Started with Oracle BPEL Process Manager This chapter describes how to get started with Oracle BPEL Process Manager. Key BPEL design features such as activities, partner links, and adapters are also described. This chapter includes the following sections: ■ Section 4.1, Introduction to the BPEL Process Service Component ■ Section 4.2, Introduction to Activities ■ Section 4.3, Introduction to Partner Links ■ Section 4.4, Creating a Partner Link ■ Section 4.5, Introduction to Technology Adapters ■ Section 4.6, Introduction to BPEL Process Monitors

4.1 Introduction to the BPEL Process Service Component

This section provides an introduction to the BPEL process service component in the design environment.

4.1.1 How to Add a BPEL Process Service Component

You add BPEL process service components in the SOA Composite Editor. To add a BPEL process service component: 1. Follow the instructions in Table 4–1 to start Oracle JDeveloper. 2. Add a BPEL process service component through one of the following methods: As a service component in an existing SOA composite application:

a. From the Component Palette, drag a BPEL Process service component into the

SOA Composite Editor. In a new application: Table 4–1 Starting Oracle JDeveloper To Start... On Windows... On UNIX... Oracle JDeveloper Click JDev_Oracle_ Home \jdeveloper\JDev\bin\jdev. exe or create a shortcut ORACLE_HOMEjdevbinjdev 4-2 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite

a. From the Application Navigator, select File New Applications SOA

Application . This starts the Create SOA Application wizard.

b. In the Application Name dialog, enter an application name in the Application

Name field.

c. In the Directory field, enter a directory path in which to create the SOA

composite application and project.

d. Click Next.

e. In the Project Name dialog, enter a name in the Project Name field.

f. Click Next.

g. In the Project SOA Settings dialog, select Composite With BPEL Process.

h. Click Finish. Each method causes the Create BPEL Process dialog shown in Figure 4–1 to appear. 3. Provide the required details including BPEL process name and whether you want to create a BPEL project that supports the BPEL 1.1 or BPEL 2.0 specification. Click Help for details about the types of BPEL processes you can create. Figure 4–1 Create BPEL Process Dialog Always use completely unique names when creating BPEL processes. Do not create: ■ A process name that begins with a number for example, 1SayHello ■ A process name that includes a dash for example, Say-Hello Note: You cannot use BPEL 1.1 and BPEL 2.0 syntax in the same .bpel file. However, you can include BPEL 1.1 and BPEL 2.0 projects in the same SOA composite application. Getting Started with Oracle BPEL Process Manager 4-3 ■ Two processes with the same name, but with different capitalization for example, SayHello and sayhello. This is particularly important for business intelligence BI data object names, which are generated on the Oracle BAM server in all upper case format. For example, if you create a BPEL process named BPELProcess1, a BI name of BI_DEFAULT_PROJECT1_BPELPROCESS1 is generated for the Oracle BAM BI data object after deployment. If you create two BPEL processes, BPELProcess1 and BPELPRocess1, the same BI data object name is generated. ■ A process name that exceeds 500 characters. ■ A non-ASCII process name. The BPEL process name is used in directory and file names of the SOA project, which can cause problems.

4. Click OK.

Oracle BPEL Designer displays the sections shown in Figure 4–2 . Figure 4–2 Oracle BPEL Designer Sections Each section of this view enables you to perform specific design and deployment tasks. Table 4–2 identifies the sections listed in Figure 4–2 .