Sun B2B Suite ASC X12 OTD Library User's Guide

ProcedureTo Build ASC X12 OTD Collaborations

  1. Access the Enterprise Designer.

  2. Click the Project Explorer tab.

  3. Click mouse button three on the Project for which you want to create a Collaboration, click New, and click Collaboration Definition (Java).

    The Collaboration Definition Wizard dialog box appears.

  4. Type the name of the Collaboration and click Next.

    The Select Web Service Operation page appears.

  5. Select the Web service to be used for this Collaboration, for example, Sun SeeBeyondeGateJMS>receive, and click Next.

    Selecting the Web Service

    The Select OTDs page appears.

  6. To use envelopes OTDs, under Look In, navigate to the envelopes by double-clicking SeeBeyondOTD LibraryX12⇒envelope . If the Collaboration does not use enveloping, continue withStep 8.

    The Look In area displays the envelope OTDs.

  7. Double-click the envelope(s) to be used. This adds the envelopes under Selected OTDs.

    Adding Envelopes to the Collaboration
  8. Under Look In, navigate to the OTDs by double-clicking Sun SeeBeyondOTD LibraryX12⇒Folder indicating the ASC X12 version, such as v4010.

    The Look In area displays the OTDs for the selected ASC X12 directories. The following table describes the naming convention for the OTDs.

    x12_

    Protocol name

    vnnnn_

    ASC X12 version

    997_FuncAckn

    Transaction code and transaction name abbreviation

    _Full

    Fully enveloped OTD version that includes the inner and outer envelopes

  9. Double-click the OTDs to be used.

    The OTDs are added to the Selected OTDs list.

    Adding OTDs to the Collaboration
  10. Click Finish.

    The Collaboration appears in the Collaboration Editor. You can now use the eGate and OTD methods to build the business logic for the Collaboration. For information about the ASC X12 OTD methods, refer to Chapter 5, Java Methods for ASC X12 OTDs.