Method and apparatus for generating query and response statements at runtime from generic requests
First Claim
1. A method in a data processing system for generating a query statement at run time to submit and retrieve information of an object in a data store, the method comprising:
- receiving a request from a client to perform an action on the object in the data store;
responsive to receiving the request, sending an extensible markup language request message to an adaptor for processing, wherein the extensible markup language request message adheres to a set of generic schemas;
receiving an extensible markup language response message from the adaptor, wherein the extensible markup language response message adheres to the set of generic schemas; and
responsive to receiving the extensible markup language response message, returning resulting values obtained from the response message to the client.
2 Assignments
0 Petitions
Accused Products
Abstract
A method, apparatus, and computer instructions of generating SQL statements at run time from generic and abstract XML request and response messages is provided. A set of generic and abstract XML schemas are provided for a client to send request XML messages for performing actions on information of objects in a data store. An adaptor processes the request XML messages and generates the SQL statements to submit to the data store. Upon receiving results, the adaptor sends response XML messages that adhere to the generic and abstract XML schemas to the client, which then obtains values of results from response XML message.
24 Citations
20 Claims
-
1. A method in a data processing system for generating a query statement at run time to submit and retrieve information of an object in a data store, the method comprising:
-
receiving a request from a client to perform an action on the object in the data store;
responsive to receiving the request, sending an extensible markup language request message to an adaptor for processing, wherein the extensible markup language request message adheres to a set of generic schemas;
receiving an extensible markup language response message from the adaptor, wherein the extensible markup language response message adheres to the set of generic schemas; and
responsive to receiving the extensible markup language response message, returning resulting values obtained from the response message to the client. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer program product in a computer readable medium for performing actions on a data store, the computer program product comprising:
-
first instructions for receiving a request in a first format for an action on an object in the data store;
second instructions, responsive to processing the request, for generating an extensible markup language request message formatted according to a set of generic schemas;
third instructions for sending the request message to an adapter for processing and for receiving an extensible markup language response message formatted according to the set of generic schemas from the adapter; and
fourth instructions that format result values of the response message in the first format. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A data processing system for processing requests for actions on objects in a data store, comprising:
-
a memory that contains a set of generic schemas as a singleton in-memory object and an adapter as a set of instructions; and
a processing unit, responsive to execution of the set of instructions, for reading a request for an action on an object in the data store and generating an extensible markup language request message responsive to processing of the request, wherein the adapter receives the request message and executes a query on the data store responsive to processing the request message, and the adapter provides an extensible markup language response message responsive to receiving a result value from the data store. - View Dependent Claims (19, 20)
-
Specification