Interfacing an application to data sources via a web service interface
First Claim
1. A non-transitory computer-readable medium containing computer-executable instructions for controlling a computing device to add a web service as a data source to an application, by a method comprising:
- identifying, from a universal description, discovery, and integration server, one or more web services provided by servers that are available, wherein each web service is registered with the universal description, discovery, and integration server by an available server that provides the web service;
sending to an available web service a request for a web service description language (WSDL) document describing services provided by the available web service;
after receiving a WSDL document from the available web service;
identifying, from the WSDL document, methods and parameters of the methods that implement services of the available web service;
receiving a mapping of original names of methods and parameters to display names of methods and parameters;
receiving a selection of methods from the display names and a specification of bindings of input and output parameters of the methods to data of the application contained in a data document;
storing an indication of the available web service, the received mapping of names, and the selected methods and the specified bindings as a web service profile; and
storing the web service profile as part of the data document such that the data document contains both the data of the application and the web service profile; and
updating data of the application based on the web service profile by;
sending a request to the available web service, wherein the request includes for a selected method a value of an input parameter retrieved from the data of the application as indicated by the specified bindings for the selected method;
receiving a response from the available web service, wherein the response includes a value of an output parameter for the selected method; and
storing the received values of the output parameters as data of the application contained in the data document as indicated by the specified bindings.
2 Assignments
0 Petitions
Accused Products
Abstract
A system supports discovering available web services, retrieving description documents describing the web services, and binding methods and their parameters to data of an application document. When a user wants to bind a discovered web service to an application document, the system retrieves a description document from the web service. The system then parses the description document to identify the methods supported by the web service along with their parameters. The system allows a user to map method names and parameter names to more user-friendly display names. The system allows the user to bind the parameters to data of an application document. When the document is to be updated, the system sends a request for services specifying a method and input parameters as indicated by the binding. When a response is received, the system stores output parameters of the response in the document as indicating by the binding.
33 Citations
6 Claims
-
1. A non-transitory computer-readable medium containing computer-executable instructions for controlling a computing device to add a web service as a data source to an application, by a method comprising:
-
identifying, from a universal description, discovery, and integration server, one or more web services provided by servers that are available, wherein each web service is registered with the universal description, discovery, and integration server by an available server that provides the web service; sending to an available web service a request for a web service description language (WSDL) document describing services provided by the available web service; after receiving a WSDL document from the available web service; identifying, from the WSDL document, methods and parameters of the methods that implement services of the available web service; receiving a mapping of original names of methods and parameters to display names of methods and parameters; receiving a selection of methods from the display names and a specification of bindings of input and output parameters of the methods to data of the application contained in a data document; storing an indication of the available web service, the received mapping of names, and the selected methods and the specified bindings as a web service profile; and storing the web service profile as part of the data document such that the data document contains both the data of the application and the web service profile; and updating data of the application based on the web service profile by; sending a request to the available web service, wherein the request includes for a selected method a value of an input parameter retrieved from the data of the application as indicated by the specified bindings for the selected method; receiving a response from the available web service, wherein the response includes a value of an output parameter for the selected method; and storing the received values of the output parameters as data of the application contained in the data document as indicated by the specified bindings. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory computer-readable memory storing computer-executable instructions for controlling a computing device to add a data source for an application, the computer-readable instructions comprising instructions that:
-
generate a data document of the application, wherein the data document contains data items that are data of the application; select an available web service registered with a web service registration server; send to the selected web service a request for a definition document describing services provided by the selected web service, wherein the definition document describes methods and parameters of the methods to be used when requesting a service; upon receiving the definition document, process the definition document to identify the methods and parameters of the methods; receive, from a user, a mapping of original names of methods and parameters as specified in the definition document to display names for use in displaying to a user; receive a selection of methods of the definition document from the display names and a specification of bindings of input and output parameters of the selected methods to data items contained in the data document; send a request to the selected web service, wherein in the request includes values of input parameters retrieved from data items contained in the data document as indicated by the specified bindings for the selected methods; receive a response from the selected web service, wherein the response includes values of output parameters for the selected methods; store the received values of output parameters as data items contained in the data document as indicated by the specified bindings; store the mapping and the specified bindings as a profile; store the profile as a property of the data document, wherein the profile is included as part of the data document containing data items of the application; and send to another user the data document that contains the data items and the profile; wherein after the data document is received by the other user, the other user updates the data items contained in the data document based on the profile that is stored as a property of the data document.
-
Specification