Servlets... Details regarding the specifics can be found in the subsections below.
Servlet that handles resource registry queries. This servlet takes the following parameters, either from a GET or POST request:
-
type
which should be either
profile
or
product
, indicating what kind of query to perform.
-
ns
which should be a URL to a CORBA name server, and is optional. If not given, it defaults to the "system" name server defined in the
oodtrc.xml
file.
-
object
which is the name of the CORBA object to which to send the query.
Then, either the
query
parameter must be specified, and its value set to the XML serialized format of an {@link XMLQuery} object, or any of the following may be specified (default values are used for unspecified values):
-
keywordQuery
is the DIS-style keyword query string.
-
id
is the ID of the query.
-
title
is the title of the query.
-
desc
is the description of the query.
-
ddID
is the data dictionary ID.
-
resultModeID
is the return instance, INSTANCE, PROFILE, or CLASS.
-
propType
is either BROADCAST or PROPOGATE.
-
propLevels
is how deep to propogate.
-
maxResults
is how many results to retrieve.
-
returnType
is the return type of search results.
In response, this servlet delivers the {@link XMLQuery} with results to the requestor in XML format, using the MIME type
text/xml
.