Task 5: How to Create a File Adapter Reference

To create a file adapter reference:

  1. From the Components window, select SOA.
  2. Select File Adapter and drag it to the External References swimlane.

    The Adapter Configuration wizard Welcome page appears.

  3. Click Next.

    The Service Name page appears.

  4. In the Service Name field, enter WriteCommonOrder.
  5. Click Next.

    The Operation page appears.

  6. In the Operation Type field, select Write File.
  7. Click Next.

    The File Configuration page appears.

  8. In the Directory for Outgoing Files (physical path) field, enter the name of the directory in which you want to write the files.
  9. In the File Naming Convention field, enter common_order_%SEQ%.xml and click Next.

    The Messages page appears.

  10. Click Search.

    The Type Chooser dialog appears.

  11. Navigate to Type Explorer > Project Schema Files > Order.xsd, and then select listOfOrder.
  12. Click OK.
  13. Click Next.

    The Finish page appears.

  14. Click Finish.

    Figure 45-14 shows the WriteCommonOrder reference in the SOA Composite Editor.

    Figure 45-14 WriteCommonOrder Reference in the SOA Composite Editor

    Description of Figure 45-14 follows
    Description of "Figure 45-14 WriteCommonOrder Reference in the SOA Composite Editor"
  15. From the File menu, select Save All.