Service Registry 3.1 Developer's Guide

ProcedureTo Run the JAXRPublishAssociation Example

  1. Go to the directory INSTALL/registry-samples/organizations.

  2. Retrieve the organization hierarchy by running the following command:


    Ant-base/ant search-fam
    

    Notice the key ID strings of the two child organizations.

  3. Go to the directory INSTALL/registry-samples/publish-association.

  4. Type the following command:


    Ant-base/ant run -Did1=string1 -Did2=string2
    

    Replace string1 and string2 with the two child organization ID strings.

    Whether the association is intramural or extramural depends upon who owns the two objects. In this case, the association is intramural.