Creating the Inbound Oracle File Adapter Service

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 . Oracle JCA Adapter for FilesFTP 4-103 Figure 4–56 The Adapter Configuration Wizard File Filtering Page

9. Click Next. The File Polling page is displayed.

10. Click Next. The Messages page is displayed.

11. Click Browse For Schema File that appears at the end of the URL field. The Type

Chooser dialog is displayed.

12. Click Project Schema Files, employees.xsd, and employees, as shown in

Figure 4–57 . Figure 4–57 The Type Chooser Dialog

13. Click OK. The URL field in the Messages page is populated with the

employees.xsd file, as shown in Figure 4–58 . 4-104 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 4–58 The Adapter Configuration Wizard File Messages Page

14. Click Next. The Finish page is displayed.

15. Click Finish. The inbound Oracle File Adapter is now configured and

composite.xml appears, as shown in Figure 4–59 . Oracle JCA Adapter for FilesFTP 4-105 Figure 4–59 The JDeveloper - Composite.xml

4.5.1.4 Creating the Outbound File Adapter Service

Perform the following steps to create an outbound file adapter service to write the file from a local directory to the FTP server: 1. Drag and drop the File Adapter from the Component Palette to the External References swim lane. The Adapter Configuration Wizard Welcome page is displayed.

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

3. Enter XMLOut 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 Write File, and click Next. The File Configuration page is displayed.

7. Enter the physical path for the output directory and enter emp_SEQ.xml in the File Naming Convention po_SEQ.txt field, as shown in Figure 4–60 .

8. Select Number of Messages Equals option, if not already selected. The default

value is 1. 4-106 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 4–60 The Adapter Configuration Wizard - File Configuration Page

9. Click Next. The Messages page is displayed.

10. Click Browse For Schema File that appears at the end of the URL field. The Type

Chooser dialog is displayed.

11. Click Project Schema Files, employees.xsd, and employee, as shown in

Figure 4–61 . Figure 4–61 The Type Chooser Dialog

12. Click OK. The URL field in the Messages page is populated with the

employees.xsd file, as shown in Figure 4–58 .

13. Click Next. The Finish page is displayed.