Deploying with JDeveloper Monitoring Using Fusion Middleware Control Console

4-140 Oracle Fusion Middleware Users Guide for Technology Adapters 6. Click your BPEL process instance. The Audit Trail of the BPEL process instance is displayed. 7. Expand a payload node to view payload details.

8. Click the Flow tab to view the process flow. Additionally, click an activity to view

the details of an activity.

4.5.5 Oracle File Adapter ChunkedRead

This is an Oracle File Adapter feature that uses an invoke activity within a while loop to process the target file. This feature enables you to process arbitrarily large files. This use case includes the following sections: ■ Section 4.5.5.1, Prerequisites ■ Section 4.5.5.2, Designing the SOA Composite ■ Section 4.5.5.3, Creating the Inbound Oracle File Adapter Service ■ Section 4.5.5.4, Creating the Outbound Oracle File Adapter Service ■ Section 4.5.5.5, Wiring Services and Activities ■ Section 4.5.5.6, Deploying with JDeveloper ■ Section 4.5.5.7, Monitoring Using Fusion Middleware Control Console

4.5.5.1 Prerequisites

To perform the Oracle File Adapter ChunkRead, you require the following files from the artifacts.zip file contained in the Adapters-106FileAdapterChunkedRead sample: ■ artifactsschemasaddress-csv.xsd ■ artifactsschemasaddress-fixedLength.xsd ■ artifactsxsladdr1Toaddr2.xsl ■ artifactsinputaddress-csv.txt You can obtain the Adapters-106FileAdapterChunkedRead sample by accessing the Oracle SOA Sample Code site, and selecting the Adapters tab.

4.5.5.2 Designing the SOA Composite

You must create a JDeveloper application to contain the SOA composite. To create an application and a project for the use case, perform the following:

1. In the Application Navigator of JDeveloper, click New Application. The Create

Generic Application - Name your application page is displayed.

2. Enter SOA-ChunkedRead in the Application Name field, and click Next. The

Create Generic Application - Name your project page is displayed.

3. Enter ChunkedRead in the Project Name field.

4. In the Available list under the Project Technologies tab, double-click SOA to move

it to the Selected list.

5. Click Next. The Configure SOA settings dialog appears.

6. Select Composite With BPEL in the Composite Template box, and click Finish.

The Create BPEL Process - BPEL Process page is displayed. Oracle JCA Adapter for FilesFTP 4-141

7. Enter BPELChunkedRead in the Name field, select Define Service Later from the

Template box.

8. Click OK. The SOA-ChunkedRead application and the ChunkedRead project

appears in the design area, as shown in Figure 4–98 . Figure 4–98 The JDeveloper - Composite.xml

9. Copy the address-csv.xsd and address-fixedLength.xsd files to the xsd directory

in your project see Section 4.5.5.1, Prerequisites for the location of these files.

10. Copy addr1Toaddr2.xsl to the xsl directory of your project see

Section 4.5.5.1, Prerequisites for the location of these files.

4.5.5.3 Creating the Inbound Oracle File Adapter Service

Perform the following steps to create an inbound Oracle File Adapter service to read the file from a local directory:

1. Drag and drop File Adapter from the Component Palette to the Exposed Services

swim lane. The Adapter Configuration Wizard Welcome page is displayed.

2. Click Next. The Service Name page is displayed.

3. Enter FileInNoPayloadIn in the Service Name field.

4. Click Next. The Adapter Interface page is displayed.

5. Select Define from operation and schema specified later, and click Next. The

Operation page is displayed.

6. Select Read File, check Do Not Read File Content box, and then click Next. The

File Directories page is displayed.

7. Enter the physical path for the input directory. Check Process Files Recursively.

8. Click Next. The File Filtering page is displayed.