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.
To Run the JAXRQueryStored Example
Go to the directory INSTALL/registry-samples/query-stored.