Prerequisites Designing the SOA Composite

Oracle JCA Adapter for FilesFTP 4-99 Figure 4–49 The Create Generic Application - Name your project Page

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

6. Select Composite With BPEL in the Composite Template box, as shown in

Figure 4–50 , and click Finish. The Create BPEL Process - BPEL Process page is displayed. Figure 4–50 The Create Generic Application - Configure SOA settings Page

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

the Template box, as shown in Figure 4–51 . 4-100 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 4–51 The Create BPEL Process - BPEL Process Page

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

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

9. Copy the employees.xsd file to the xsd directory in your project see

Section 4.5.1.1, Prerequisites for the location of this file. Oracle JCA Adapter for FilesFTP 4-101

4.5.1.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 the Oracle 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 XMLDebatchingIn in the Service Name field and, as shown in

Figure 4–53 . Figure 4–53 The Adapter Configuration Wizard - Service Name Page

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, as shown in

Figure 4–54 , and click Next. The File Directories page is displayed. 4-102 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 4–54 The Adapter Configuration Wizard Operation Page

7. Enter the physical path for the input directory, as shown in

Figure 4–55 . The File Filtering page is displayed. Figure 4–55 The Adapter Configuration Wizard - File Directories Page

8. Enter .xml in the Include Files With Name Pattern field, select Files Contain

Multiple Messages check box, specify 1 as the value for Publish Messages in Batches Of box, as shown in Figure 4–56 .