Service Registry 3 2005Q4 Developer's Guide

Finding Objects by Unique Identifier: Example

For an example of finding objects by unique identifier, see JAXRSearchById.java in the directory <INSTALL>/registry/samples/search-id/src, which searches for objects that have a specified unique identifier.

ProcedureTo Run the JAXRSearchById Example

Steps
  1. Go to the directory <INSTALL>/registry/samples/search-id.

  2. Type the following command:


    asant run -Did=urn_value
    

    For example, if you specify the following ID, you retrieve information on the ObjectType classification scheme.


    urn:oasis:names:tc:ebxml-regrep:classificationScheme:ObjectType