Creating a Second Partner Link and File Adapter Service

To create a second partner link and file adapter service:

  1. Drag a second Partner Link 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 and click OK.
  4. In the Name field of the File Adapter Reference dialog, enter a name (for this example, SecondFileRead is entered) and click Next. This name must be unique from the one you entered in Step 6 of Creating an Initial Partner Link and File Adapter Service.
  5. In the Adapter Interface dialog, accept the default settings and click Next.
  6. In the Operation dialog, select Read File as the Operation Type.
  7. In the Operation Name field, change the name (for this example, Read1 is entered).
  8. Click Next.
  9. Select Directory Names are Specified as Physical Path.
  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\SecondInputDir is entered).
  12. Click Select.
  13. Click Next.
  14. Enter appropriate file filtering parameters in the File Filtering dialog.
  15. Click Next.
  16. Enter appropriate file polling parameters in the File Polling dialog.
  17. Click Next.
  18. Next to the URL field in the Messages dialog, click Browse to display the Type Chooser dialog.
  19. Select an appropriate XSD schema file. For this example, Book1_5.xsd is the schema and LoanAppResponse is the schema element selected.
  20. Click OK.

    The URL field (Book1_5.xsd for this example) and the Schema Element field (LoanAppResponse 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 9-7:

    Table 9-7 Partner Link Dialog Fields and Values

    Field Value

    Name

    SecondReceive

    WSDL URL

    directory_path/SecondFileRead.wsdl

    Partner Link Type

    Read1_plt

    Partner Role

    Leave unspecified.

    My Role

    Read1_role

  23. Click OK.