Monitoring Using Fusion Middleware Control Console

Oracle JCA Adapter for FilesFTP 4-205 ■ Section 4.5.11.6, Moving a File from a Local Directory on the File System to a Remote Directory on the FTP Server ■ Section 4.5.11.7, Moving a File from a Remote Directory on the FTP Server to a Local Directory on the File System ■ Section 4.5.11.8, Moving a File from One FTP Server to another FTP Server

4.5.11.1 Moving a File from a Local Directory on the File System to Another Local Directory

You can model only a part of this procedure by using the wizard because the corresponding Adapter Configuration Wizard is not available. You must complete the remaining procedure by manually configuring the generated JCA file. You must perform the following steps to move a file from a local directory on the file system to another local directory: 1. Create an empty BPEL process. 2. Drag and drop File Adapter from the Component Palette to the External References swim lane. The Adapter Configuration Wizard Welcome page is displayed.

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

4. Enter a service name in the Service Name field.

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

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

Operation page is displayed.

7. Select Synchronous Read File, enter FileMove in the Operation Name field, and

then click Next. The File Directories page is displayed. 8. Enter a dummy physical path for the directory for incoming files, and then click Next . The File name page is displayed.

9. Enter a dummy file name, and then click Next. The Messages page is displayed.

10. Select Native format translation is not required Schema is opaque, and then

click Next. The Finish page is displayed. 11. Click Finish. The outbound Oracle File Adapter is now configured. Note: You have selected Synchronous Read File as the operation because the WSDL file that is generated as a result of this operation is similar to the one required for the file IO operation. Note: The dummy directory is not used. You must manually change the directory in a later step. Note: The dummy file name you enter is not used. You must manually change the file name in a later step.