In the Create Copy Operation dialog, select Expression from Type and specify the

4-52 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 4–28 Create Copy Operation Dialog

9. Click OK in the Create Copy Operation dialog and then click OK in the Assign

dialog. The .bpel page is displayed.

10. Double-click the invoke activity. The Invoke dialog is displayed.

11. Click the Properties tab.

12. Select the jca.file.Directory property from the Properties column and set

the Value as MyDir the directory that you created in Step 4. Ensure that the Type column is set to input, as shown in Figure 4–29 . Oracle JCA Adapter for FilesFTP 4-53 Figure 4–29 The Invoke Dialog

4.3.2.2.4 Specifying the Outbound File Naming Convention

Specify the naming convention to use for outgoing files. You cannot enter completely static names such as po.txt. This is to ensure the uniqueness in names of outgoing files, which prevents files from being inadvertently overwritten. Instead, outgoing file names must be a combination of static and dynamic portions. The prefix and suffix portions of the file example shown in Figure 4–26 are static for example, po_ and .xml. The SEQ variable of the name is dynamic and can be a sequence number or a time stamp for example, po_yyMMddHHmmss.xml to create a file with a time stamp. If you choose a name starting with po_, followed by a sequence number and the extension txt as the naming convention of the outgoing files, then you must specify po_SEQ.txt. If you choose a name starting with po_, followed by a time stamp with the pattern yyyy.MM.dd and the extension txt as the naming convention of the outgoing file, then you must specify po_yyyy.MM.dd.txt. For example, the outgoing file name can be po_2004.11.29.txt. Additionally, you can combine file naming conventions. For example, you can specify the file naming convention as po_SEQ_yyyy.MM.dd_SEQ.txt. Note: When using dynamic directories, ensure that parameters such as NumberMessages, ElapsedTime, and FileSize are not defined in the outbound adapter service WSDL file. These parameters are not supported with dynamic directories.