|
|
|
This type of Web Services uses the HTTP protocol to send requests and return responses. This is a generic form of Web Service that is handled in the Raritan Framework using a SearchServlet handler that can convert the HTTP request into a RTI search request and transform the result into the appropriate format required by the particular Web Service protocol.
An example of this is the OpenSearch protocol in which an http request is converted to an XML response in RSS or Atom format. The Raritan Framework can be used to create an OpenSearch web application that can expose this interface to OpenSearch clients. This 'front-end' enables any RTI SearchSource to be exposed as an OpenSearch service.
The SearchServletHandler converts a HTTP search request into a search result using an RTI SearchSource and standard RTI Source mapping. Results are returned in the format defined by an IDisplayFormRenderer (for example XML using an XMLDisplayFormRenderer). The SearchSource implementation can be a Query Processor Filter which can provide pre-processing of the query input and/or post-processing of the result set. This enables any HTTP request or response format to be supported respectively.