Method and system for accessing a network database as a web service
First Claim
1. A computer-readable medium having computer-executable instructions for a client on a computer network to use a Web service to access, via a server, a database directory for discovering other Web services accessible on the network, the computer-readable medium comprising computer-executable instructions for:
- receiving a description document from the server for describing a Web service which interacts with the server to discover other Web services listed in a database directory of Web services, the description document having;
class definitions for a generic object class;
a plurality of object type classes derived from the generic object class, wherein each of the plurality of object type classes corresponds to a type of object in the database directory of Web services;
a Web service class that includes a plurality of database operation methods defined within the Web service class, the plurality of database operation methods being defined for operating on instances of database objects within the database directory of Web services, wherein each of the plurality of database operation methods is defined for the generic object class, and wherein the Web service class is derived from a parent class; and
at least one flag statement identifying an object type;
in response to receiving the description document, the client converting the description document from a schema-based language for describing Web services into an intermediate language for a runtime environment; and
generating a database access request message for performing a database operation on a selected object type in the database directory of Web services, including;
determining whether the selected object type is the object type identified by the flag statement;
if the selected object type is the object type identified by the flag statement, creating an object of the selected object type using the class definition for the selected object type in the received description document and generating a database operation method for the selected object type, the database operation method for the selected object type being based on one of the database operation methods defined for the generic object class; and
serializing the created object of the selected object type and including the serialized object in the request message.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system for accessing network directory data as uses a Web service as an interface between a directory database and network clients. To support extensibility of the object types in the directory database, directory access methods are defined for a generic object class from which classes for different directory object types are derived. A description of the object classes and database operation methods is provided by the Web service to the client. To access the directory database, the runtime environment of the client is used to create objects on which a requested directory operation method operates according to the proper class definitions of the object types. The request with serialized objects is sent to the Web service, which then uses information provided by the objects in the request to access the directory database to carry out the requested directory operation method.
-
Citations
21 Claims
-
1. A computer-readable medium having computer-executable instructions for a client on a computer network to use a Web service to access, via a server, a database directory for discovering other Web services accessible on the network, the computer-readable medium comprising computer-executable instructions for:
-
receiving a description document from the server for describing a Web service which interacts with the server to discover other Web services listed in a database directory of Web services, the description document having; class definitions for a generic object class; a plurality of object type classes derived from the generic object class, wherein each of the plurality of object type classes corresponds to a type of object in the database directory of Web services; a Web service class that includes a plurality of database operation methods defined within the Web service class, the plurality of database operation methods being defined for operating on instances of database objects within the database directory of Web services, wherein each of the plurality of database operation methods is defined for the generic object class, and wherein the Web service class is derived from a parent class; and at least one flag statement identifying an object type; in response to receiving the description document, the client converting the description document from a schema-based language for describing Web services into an intermediate language for a runtime environment; and generating a database access request message for performing a database operation on a selected object type in the database directory of Web services, including; determining whether the selected object type is the object type identified by the flag statement; if the selected object type is the object type identified by the flag statement, creating an object of the selected object type using the class definition for the selected object type in the received description document and generating a database operation method for the selected object type, the database operation method for the selected object type being based on one of the database operation methods defined for the generic object class; and serializing the created object of the selected object type and including the serialized object in the request message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable medium having computer-executable instructions for a database server of a runtime environment platform to provide a Web service of discovering other Web services by accessing a database directory of Web services, comprising computer-executable instructions for:
-
receiving, at a Web service, a query from a client; in response to receiving the query from the client, the Web service; accessing source code having class definitions compiled into an intermediate language of a runtime environment; converting the compiled source code in the intermediate language of the runtime environment into a schema-based language for describing Web services in description documents; sending, in response to the query from the client, a description document to the client in the schema-based language, the description document describing a Web service which interacts with the server to discover other Web Services listed in a database directory of Web services, the description document containing; class definitions for a generic object class; a plurality of object type classes derived from the generic object class, wherein each of the plurality of object type classes corresponds to a type of object in the database directory of Web services; a Web service class that includes a plurality of database operation methods defined within the Web service class, the plurality of database operation methods being defined for operating on instances of database objects within the database directory of Web services, wherein each of the plurality of database operation methods is defined for the generic object class and wherein the Web service class is derived from a parent class; receiving a request message from the client for performing a requested database operation method, the request message including a serialized object for the requested database operation method; deserializing the serialized object; identifying an object type and parameters of the deserialized object; and accessing the database directory of Web services to carry out the requested database operation method based on the object type and parameters of the deserialized object. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A client computing system connected to a database directory over a computer network, the client system being configured to use a Web service to access, via a server, the database directory to discover other Web services accessible on the computer network, the client computing system comprising:
-
a processor; and computer-readable medium having stored thereon computer-executable instructions that, when executed by the processor, cause the client computing system to; receive a description document from the server for describing a Web service which interacts with the server to discover other Web services listed in a database directory of Web services, the description document having; class definitions for a generic object class; a plurality of object type classes derived from the generic object class, wherein each of the plurality of object type classes corresponds to a type of object in the database directory of Web services; a Web service class that includes a plurality of database operation methods defined within the Web service class, the plurality of database operation methods being defined for operating on instances of database objects within the database directory of Web services, wherein each of the plurality of database operation methods is defined for the generic object class, and wherein the Web service class is derived from a parent class; and at least one flag statement identifying an object type; in response to receipt of the description document, convert the description document from a schema-based language for describing Web services into an intermediate language for a runtime environment; and generate a database access request message for performing a database operation on a selected object type in the database directory of Web services, including; determining whether the selected object type is the object type identified by the flag statement; if the selected object type is the object type identified by the flag statement, create an object of the selected object type using the class definition for the selected object type in the received description document and generating a database operation method for the selected object type, the database operation method for the selected object type being based on one of the database operation methods defined for the generic object class; and serialize the created object of the selected object type and including the serialized object in the request message.
-
-
21. A server computing system connected to a database directory and a client computing system over a computing network, the server computing system being configured to enable the client computing system to discover Web services by the database directory, comprising:
-
a processor; and computer-readable media having stored thereon computer-executable instructions that, when executed by the processor, cause the server computing system to access a Web service, the Web service being configured to; receive a query from a client; in response to receiving the query from the client; access source code having class definitions compiled into an intermediate language of a runtime environment; convert the compiled source code in the intermediate language of the runtime environment into a schema-based language for describing Web services; and send, in response to the query from the client, a description document to the client in the schema-based language, the description document describing a Web service which interacts with the server to discover other Web services listed in a database directory of Web services, the description document containing; class definitions for a generic object class; a plurality of object type classes derived from the generic object class, wherein each of the plurality of object type classes corresponds to a type of object in the database directory of Web services; a Web service class that includes a plurality of database operation methods defined within the Web service class, the plurality of database operation methods being defined for operating on instances of database objects within the database directory of Web services, wherein each of the plurality of database operation methods. is defined for the generic object class and wherein the Web service class is derived from a parent class; receive a request message from the client for performing a requested database operation method, the request message including a serialized object for the requested database operation method; deserialize the serialized object; identify an object type and parameters of the deserialized object; and access the database directory of Web services to carry out the requested database operation method based on the object type and parameters of the deserialized object.
-
Specification