Service Registry 3 2005Q4 Developer's Guide

ProcedureTo Run the JAXRPublishAssociation Example

Steps
  1. Go to the directory <INSTALL>/registry/samples/organizations.

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


    asant 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:


    asant 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.