Configuring Master Index (Repository) Connectivity and Environments

Adding Master Index Methods to a Java Collaboration

This topic describes how to incorporate the master index method OTD into Java Collaborations for external systems. For a complete reference of the methods included in the master index OTD, see Chapter 4, Working with the Master Index Java API (Repository), in Understanding Sun Master Index Processing (Repository). You can use additional master index methods, which are described in the Javadocs provided with Sun Master Index.

ProcedureTo Add Master Index Methods to a Java Collaboration

Before You Begin

Before beginning this procedure, create the OTD for the incoming messages.

  1. Create the Java Collaboration for the Collaboration client project using the Collaboration Wizard ( right-click the project, point to New, and then select Collaboration Definition (Java)).

  2. Enter information into the wizard as it applies to the external systems in the project.

  3. In step 3 of the Collaboration Definition Wizard (Select OTDs), select the input OTD, the output OTD, and the master index method OTD.


    Note –

    The master index method OTD is contained in the master index project and is named after the master index application.


  4. When you complete the wizard, do the following using the Collaboration Editor (Java) to define custom processing using the master index API:

    1. In the left panel of the Business Rules Designer, right-click the master index method OTD.

      A list of available methods appears.

    2. Select the desired method from the list.

    3. Create any necessary variables for the method, and then map the input, output, and variables to the method.

  5. When you are done defining the processing rules, save the Collaboration.