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

Invoking an Asynchronous Web Service from a BPEL Process 8-19 To create a third partner link and file adapter service: 1. Drag a third PartnerLink activity beneath the SecondReceive 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.

6. In the Service Name field of the Service Name dialog, enter ThirdFileRead and

click Next. This name must be unique from the one you entered in Step 7 on page 8-16 and Step 6 of Section 8.5.1.2.2, Creating a Second 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 Read2. This name must be

unique.

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\ThirdInputDir 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_6.xsd is the

schema and CustResponse is the schema element selected. 22. Click OK. The URL field Book1_6.xsd for this example and the Schema Element field CustResponse 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–4 : Table 8–4 Partner Link Dialog Fields and Values Field Value Name ThirdReceive