Sun B2B Suite UN/EDIFACT OTD Library User Guide

Building UN/EDIFACT OTD Collaborations

This section describes how you build Java Collaborations that use the UN/EDIFACT OTDs provided in the UN/EDIFACT OTD Library.

To customize the OTDs before building the Collaboration, refer to Customizing the UN/EDIFACT OTDs.

Before you can build the Collaboration, you must have installed the .sar file for the particular OTD to be used. For information, see Installing the UN/EDIFACT OTD Library.

ProcedureTo Build UN/EDIFACT OTD Collaborations

  1. In the Project Explorer tab of Enterprise Designer, right-click the Project for which you want to create a Collaboration, click New, and click Collaboration Definition (Java). The Collaboration Definition Wizard dialog box appears.

  2. Enter the name of the Collaboration and click Next. The Select Web Service Operation page appears.

  3. Select to the Web service to be used for this Collaboration, for example, SeeBeyondeGateJMSreceive , and click Next.

    Selecting the Web Service

    The Select OTDs page appears.

  4. To use envelopes OTDs, under Look In, navigate to the envelopes by double-clicking the folders below. If the Collaboration does not use enveloping, continue with step To Build UN/EDIFACT OTD Collaborations.

    • SeeBeyond

    • OTD Library

    • EDIFACT

    • Envelopes

    The Look In area displays the envelope OTDs.

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

    Adding Envelopes to the Collaboration
  6. Under Look In, navigate to the OTDs by double-click the following folders:

    • SeeBeyond ⇒ OTD Library ⇒ EDIFACT ⇒ v3 or v4

    • Folder indicating the UN/EDIFACT directory, such as D01B

    The Look In area displays the OTDs for the selected UN/EDIFACT directories. The table below describes the naming convention for the OTDs.

    eDF_

    Abbreviation of the protocol name 

    v3_

    UN/EDIFACT version 3 

    v4_

    UN/EDIFACT version 4 

    D00A_

    UN/EDIFACT directory 

    APERAK_

    Abbreviation of the transaction name 

    _Full

    Fully enveloped OTD version that includes the inner and outer envelopes 

  7. Double-click the OTDs to be used. This adds the OTDs under Selected OTDs.

    Adding OTDs to the Collaboration
  8. 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 UN/EDIFACT OTD methods, refer to Chapter 4, Java Methods for UN/EDIFACT OTDs.