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.
Go to the directory install/registry-samples/search-id.
Type the following command:
Ant-base/ant 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 |
If you specify this argument, the output of the run target looks something like this:
run: [java] ID string is urn:oasis:names:tc:ebxml-regrep:classificationScheme:ObjectType [java] Query URL is http://localhost:6480/soar/registry/soap [java] Created connection to registry [java] Got registry service and query manager [java] Object type is ClassificationScheme [java] Object name is ObjectType [java] Object description is Canonical ClassificationScheme that defines the different types of RegistryObjects a registry may support |