For an example of the use of a stored query, see JAXRQueryStored.java in the directory install/registry-samples/query-stored/src. This example returns all organizations stored in the Registry.
Go to the directory install/registry-samples/query-stored.
Type the following command:
Ant-base/ant run |
The output of the run target looks something like this:
run: [java] Query URL is http://localhost:6480/soar/registry/soap [java] Created connection to registry [java] Got registry service and query managers [java] Query ID is urn:freebxml:registry:query:BusinessQuery [java] Object type path is /urn:oasis:names:tc:ebxml-regrep:classificationScheme:ObjectType/RegistryObject/Organization [java] Object type is Organization [java] Object name is freebXMLRegistry [java] Object description is freebXML Registry [java] --- [java] Object type is Organization [java] Object name is GenericOrg [java] Object description is Generic organization [java] --- |