Automatic generation of database invocation mechanism for external web services
First Claim
1. A computer implemented method for enabling invocation of an external service at a service provider server from a database in a database computer system, comprising:
- accessing from over a network a published description of the external service published by the service provider external to the database, wherein the published description includes a definition defining operations performed by the external service in a service description language, wherein the database manages data and includes a database engine to perform queries;
parsing the accessed published description to determine one of the operations contained in the published description;
deriving a user defined function name for one of the determined operations from the accessed published description of the external service;
generating a conversion between a database language statement and the service description language for the determined operation;
generating database language statements defining the user defined function executable by the database to invoke the external service, wherein the user defined function resides on the database;
invoking, by the database, the user defined function by executing the database language statements including the user defined function within the database to invoke the external service and perform a query with respect to the external service, wherein the user defined function invokes the external service by accepting as input parameters a network address of the external service, a name of the external service, and a name of an operation to be performed; and
receiving, at the database, data from the external service in response to invoking and interacting with the external service, wherein the user defined function returns the result of the invocation.
2 Assignments
0 Petitions
Accused Products
Abstract
An external service at a service provider server is invoked from a database by accessing from over a network a description of the external service published by the service provider external to the database. A database invocation mechanism is generated from the accessed description of the external service, wherein the database invocation mechanism comprises code within the database. A database program invokes the database invocation mechanism code within the database to invoke and interact with the external service. The database receives data from the external service in response to invoking and interacting with the external service.
-
Citations
48 Claims
-
1. A computer implemented method for enabling invocation of an external service at a service provider server from a database in a database computer system, comprising:
-
accessing from over a network a published description of the external service published by the service provider external to the database, wherein the published description includes a definition defining operations performed by the external service in a service description language, wherein the database manages data and includes a database engine to perform queries; parsing the accessed published description to determine one of the operations contained in the published description; deriving a user defined function name for one of the determined operations from the accessed published description of the external service; generating a conversion between a database language statement and the service description language for the determined operation; generating database language statements defining the user defined function executable by the database to invoke the external service, wherein the user defined function resides on the database; invoking, by the database, the user defined function by executing the database language statements including the user defined function within the database to invoke the external service and perform a query with respect to the external service, wherein the user defined function invokes the external service by accepting as input parameters a network address of the external service, a name of the external service, and a name of an operation to be performed; and receiving, at the database, data from the external service in response to invoking and interacting with the external service, wherein the user defined function returns the result of the invocation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A program product comprising a non-transitory computer readable storage medium containing instructions executable by a computer coupled to a network, the instructions executed to perform invocation of an external service at a service provider server from a computer database system, comprising:
-
accessing from over a network a published description of the external service published by the service provider external to the database, wherein the published description includes a definition defining operations performed by the external service in a service description language, wherein the database manages data and includes a database engine to perform queries; parsing the accessed published description to determine one of the operations contained in the published description; deriving a user defined function name for one of the determined operations from the accessed published description of the external service; generating a conversion between a database language statement and the service description language for the determined operation; generating database language statements defining the user defined function executable by the database to invoke the external service, wherein the user defined function resides on the database; invoking, by the database, the user defined function by executing the database language statements including the user defined function within the database to invoke the external service and perform a query with respect to the external service, wherein the user defined function invokes the external service by accepting as input parameters a network address of the external service, a name of the external service, and a name of an operation to be performed; and receiving, at the database, data from the external service in response to invoking and interacting with the external service, wherein the user defined function returns the result of the invocation. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. A system, including a computer and computer storage device, for invoking an external service at a service provider server from a database, comprising:
-
a database; a service requester accessing from over a network a published description of the external service published by the service provider external to the database, wherein the published description includes a definition defining operations performed by the external service in a service description language, wherein the database manages data and includes a database engine to perform queries; a generator generating a user defined function from the accessed published description of the external service by performing; parsing the accessed published description to determine one of the operations contained in the published description; deriving a user defined function name for one of the determined operations from the accessed published description of the external service; generating a conversion between a database language statement and the service description language for the determined operation; generating database language statements defining the user defined function executable by the database to invoke the external service, wherein the user defined function resides on the database; wherein the database performs; invoking the user defined function by executing the database language statements including the user defined function within the database to invoke the external service and perform a query with respect to the external service, wherein the user defined function invokes the external service by accepting as input parameters a network address of the external service, a name of the external service, and a name of an operation to be performed; and receiving, at the database, data from the external service in response to invoking and interacting with the external service, wherein the user defined function returns the result of the invocation. - View Dependent Claims (34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48)
-
Specification