In the Project Name field, enter MyCorrelationSetComposite. Accept the default values for all remaining settings, and click Next.

Invoking an Asynchronous Web Service from a BPEL Process 8-17

9. In the Operation dialog, select Read File as the Operation Type and click Next.

The Operation Name field is automatically filled in with Read. 10. Above the Directory for Incoming Files physical path field, click Browse. 11. Select a directory from which to read files for this example, C:\files\receiveprocess\FirstInputDir is selected.

12. Click Select.

13. Click Next.

14. In the File Filtering dialog, enter appropriate file filtering parameters.

15. Click Next.

16. In the File Polling dialog, enter appropriate file polling parameters.

17. Click Next.

18. In the Messages dialog, click Browse next to the URL field to display the Type

Chooser dialog.

19. Select an appropriate XSD schema file. For this example, Book1_4.xsd is the

schema and LoanAppl is the schema element selected. 20. Click OK. The URL field Book1_4.xsd for this example and the Schema Element field LoanAppl for this example are filled in. 21. Click Next. 22. Click Finish. You are returned to the Partner Link dialog. All other fields are automatically completed. The dialog looks as shown in Table 8–2 :

23. Click OK.

8.5.1.2.2 Creating a Second Partner Link and File Adapter Service

To create a second partner link and file adapter service: 1. Drag a second PartnerLink activity beneath the FirstReceive partner link activity. 2. At the top, click the third icon the Service Wizard icon. 3. In the Configure Service or Adapter dialog, select File Adapter and click OK. 4. In the Welcome dialog, click Next. 5. In the Adapter Type dialog, select File Adapter and click Next. Table 8–2 Partner Link Dialog Fields and Values Field Value Name FirstReceive WSDL URL directory_pathFirstReceive.wsdl Partner Link Type Read_plt Partner Role Leave unspecified. My Role Read_role 8-18 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite

6. In the Service Name field of the Service Name dialog, enter SecondFileRead

and click Next. This name must be unique from the one you entered in Step 7 of Section 8.5.1.2.1, Creating an Initial Partner Link and File Adapter Service.

7. In the Adapter Interface dialog, accept the default settings and click Next.

8. In the Operation dialog, select Read File as the Operation Type.

9. In the Operation Name field, change the name to Read1.

10. Click Next.

11. Select Directory Names are Specified as Physical Path.

12. Above the Directory for Incoming Files physical path field, click Browse.

13. Select a directory from which to read files for this example, C:\files\receiveprocess\SecondInputDir is entered.

14. Click Select.

15. Click Next.

16. Enter appropriate file filtering parameters in the File Filtering dialog.

17. Click Next.

18. Enter appropriate file polling parameters in the File Polling dialog.

19. Click Next.

20. Next to the URL field in the Messages dialog, click Browse to display the Type

Chooser dialog.

21. Select an appropriate XSD schema file. For this example, Book1_5.xsd is the

schema and LoanAppResponse is the schema element selected. 22. Click OK. The URL field Book1_5.xsd for this example and the Schema Element field LoanAppResponse for this example are filled in. 23. Click Next. 24. Click Finish. You are returned to the Partner Link dialog. All other fields are automatically completed. The dialog looks as shown in Table 8–3 :

25. Click OK.

8.5.1.2.3 Creating a Third Partner Link and File Adapter Service

Table 8–3 Partner Link Dialog Fields and Values Field Value Name SecondReceive WSDL URL directory_pathSecondFileRead.wsdl Partner Link Type Read1_plt Partner Role Leave unspecified. My Role Read1_role