Sun Adapter for Batch Tutorial

Creating the jcdBatch_Inbound_FTPIn_LocalFileOut Collaboration

The jcdBatch_Inbound_FTPIn_LocalFileOut Collaboration defines how data is transferred between the BatchInbound application, the BatchFTP application, and Outbound BatchLocalFile.

ProcedureTo Create the jcdBatch_Inbound_FTPIn_LocalFileOut Collaboration

  1. From the Project Explorer, right-click prjBatch_Inbound_FTPIn_LocalFileOut and Select New⇒Collaboration Definition (Java) from the context menu.

    The Collaboration Definition Wizard (Java) appears.

  2. Enter a Collaboration Definition name (for this Project, use jcdBatch_Inbound_FTPIn_LocalFileOut) .

  3. Under Web Service Type, select Existing: Implement an existing Web Service operation.

  4. Click Next.

  5. For Step 2 of the Wizard, select the Web Service operation to implement. From the select Web Service operation selection window, double-click CAPS Components Library⇒Adapters⇒BatcheWay⇒BatchLocalFile⇒receive.

  6. Click Next.

  7. For Step 3 of the Wizard, from the Select OTDs selection window, double-click CAPS Components Library⇒Adapters⇒BatcheWay⇒BatchFTP.

    The BatchFTP OTD is added to the Selected OTDs field.

  8. From the Select OTDs selection window, double-click CAPS Components Library⇒Adapters⇒BatcheWay⇒BatchLocalFile.

    The BatchLocalFile OTD is added to the Selected OTDs field.

    Image shows the Collaboration Definition Wizard (Java)
as described in context
  9. Click Finish.

    The new jcdBatch_Inbound_FTPIn_LocalFileOut Collaboration appears in the Project Explorer tree.