Importing the Schema Definition .XSD Files

4-126 Oracle Fusion Middleware Users Guide for Technology Adapters

15. Click Finish. A ReadFile adapter service is created.

4.5.3.5 Creating the Outbound Oracle FTP Adapter Service

Perform the following steps to create an outbound Oracle FTP Adapter service to write the file to an FTP server:

1. Drag an FTP Adapter service from Components Palette to the design area. The

Adapter Configuration Wizard Welcome page is displayed.

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

3. Enter WriteFTP 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

FTP Server Connection page is displayed.

6. Specify the JNDI Name of the FTP Server in the FTP Server JNDI Name field and

click Next. The Operation page is displayed. 7. Select Ascii option as File Type. 8. Select Put File option as the Operation Type and click Next. The File Configuration page is displayed.

9. Specify the directory to which file must be written in the Directory for Outgoing

Files physical path field.

10. Specify the naming convention for the output file name in the File Naming

Convention field. For example, po_SEQ.txt.

11. Click Next. The Messages page is displayed.

12. Click the Browse For Schema File button at the end of the URL field. The Type

Chooser dialog is displayed.

13. Select Project Schema Files, address-csv.xsd, and then Root-Element.

14. Click OK.

15. Click Next in the Messages page. The Finish page is displayed.

16. Click Finish. A WriteFTP adapter service is created.

4.5.3.6 Wiring Services

You have to assemble or wire the three components that you have created: Inbound Oracle File Adapter service, Mediator component, Outbound Oracle FTP Adapter reference. Perform the following steps to wire the components: 1. Drag the small triangle in the ReadFile in the Exposed Services area to the drop zone that appears as a green triangle in the Mediator component in the Components area. 2. Drag the small triangle in the Mediator component in the Components area to the drop zone that appears as a green triangle in the WriteFTP in the External References area. The JDeveloper composite.xml appears, as shown in Figure 4–84 .