Creating the Outbound Oracle FTP Adapter Service

4-188 Oracle Fusion Middleware Users Guide for Technology Adapters

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

FTP Server Connection page is displayed.

6. Click Next. The Operation page is displayed.

7. Select Put File, and click Next. The File Configuration page is displayed.

8. Enter the physical path for the output directory and enter po_SEQ.txt in the File Naming Conventionpo_SEQ.txt field.

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

value is 1.

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, po.xsd, and po.

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

14. Click Next. The Finish page is displayed.

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

composite.xml appears, as shown in Figure 4–149 . Figure 4–149 The JDeveloper - Composite.xml

4.5.9.5 Wiring Services and Activities

You have to assemble or wire the three components that you have created: Inbound adapter service, BPEL process, Outbound adapter reference. Perform the following steps to wire the components: Oracle JCA Adapter for FilesFTP 4-189 1. Drag the small triangle in the FTPDebatchingIn service in the Exposed Services area to the drop zone that appears as a green triangle in the BPEL process in the Components area. 2. Drag the small triangle in the BPEL process in the Components area to the drop zone that appears as a green triangle in the PurchaseOrderOut reference in the External References area. The JDeveloper Composite.xml appears, as shown in Figure 4–150 . Figure 4–150 The JDeveloper - Composite.xml

3. Click File, Save All.

Add a Receive Activity 1. Double-click BPELFTPDebatching. The BPELFTPDebatching.bpel page is displayed.

2. Drag and drop a Receive activity from the Component Palette to the design area.

3. Double-click the Receive activity. The Receive dialog is displayed.

4. Enter Receive in the Name field.

5. Click Browse Partner Links at the end of the Partner Link field. The Partner Link

Chooser dialog is displayed.

6. Select FTPDebatchingIn, and click OK.

7. Click the Auto-Create Variable icon to the right of the Variable field in the Receive

dialog. The Create Variable dialog is displayed.

8. Select the default variable name and click OK. The Variable field is populated with

the default variable name.