Scripting web services
First Claim
Patent Images
1. A method performed on one or more servers, comprising:
- enabling a client to define a Web service dynamically;
storing, in memory on the one or more servers, code for different versions of script corresponding to the Web service, the different versions including at least one earlier version of the script and at least one later version of the script;
receiving a call to the Web service from a device, the call comprising a HyperText Transfer Protocol (HTTP) command, the HTTP command identifying the script in accordance with a convention defined by a proprietor of the script;
identifying the script corresponding to the Web service based on the HTTP command, the script defining a context among multiple contexts in which the script is to run, the context defining a set of privileges and permissions, the set of privileges and permissions being either generic or specific to an entity that created the Web service;
executing, on the one or more servers, code corresponding to a version of the script in the context to implement the Web service, the code producing an output; and
sending the output to the device;
wherein an argument is received from the device with the call, the argument being associated with an aspect of an entity being monitored by the device; and
wherein the version of the script obtains information associated with the argument and uses the information to produce the output.
4 Assignments
0 Petitions
Accused Products
Abstract
A process performed on a server includes configuring the server to enable script for a Web service to be defined dynamically, where the Web service includes an application program interface (API) for enabling access by, and interaction with, a computer program executing on a device other than the server. The process also includes compiling the script to produce machine-executable code for the Web service, receiving a call from the computer program to the Web service, executing the machine-executable code in response to the call to produce an output, and sending the output to the device.
43 Citations
24 Claims
-
1. A method performed on one or more servers, comprising:
-
enabling a client to define a Web service dynamically; storing, in memory on the one or more servers, code for different versions of script corresponding to the Web service, the different versions including at least one earlier version of the script and at least one later version of the script; receiving a call to the Web service from a device, the call comprising a HyperText Transfer Protocol (HTTP) command, the HTTP command identifying the script in accordance with a convention defined by a proprietor of the script; identifying the script corresponding to the Web service based on the HTTP command, the script defining a context among multiple contexts in which the script is to run, the context defining a set of privileges and permissions, the set of privileges and permissions being either generic or specific to an entity that created the Web service; executing, on the one or more servers, code corresponding to a version of the script in the context to implement the Web service, the code producing an output; and sending the output to the device; wherein an argument is received from the device with the call, the argument being associated with an aspect of an entity being monitored by the device; and wherein the version of the script obtains information associated with the argument and uses the information to produce the output. - View Dependent Claims (2, 3, 4)
-
-
5. A method performed on one or more servers, comprising:
-
configuring the one or more servers to enable dynamic definition of a Web service, the Web service enabling access by, and interaction with, a monitoring agent; receiving, from a client associated with the monitoring agent, script defining the Web service, the script being stored in different versions in memory on the one or more servers, the different versions including at least one earlier version of the script and at least one later version of the script; compiling a version of the script on the one or more servers to produce machine-executable code for the Web service, the machine-executable code defining a context among multiple contexts for the script, the context defining a set of privileges and permissions, the set of privileges and permissions being either generic or specific to an entity that created the Web service; receiving a call to the Web service from the monitoring agent, the call comprising a HyperText Transfer Protocol (HTTP) command, the HTTP command identifying the script in accordance with a convention defined by a proprietor of the script; executing the machine-executable code in the context based on the call, wherein execution of the machine-executable code produces an output; and sending the output to the monitoring agent; wherein an argument is received from the monitoring agent with the call, the argument being associated with an aspect of an entity being monitored by the monitoring agent; and wherein execution of the machine-executable code comprises obtaining information associated with the argument and using the information to produce the output. - View Dependent Claims (6, 7, 8, 9, 10, 11)
-
-
12. One or more non-transitory machine-readable storage media storing instructions that are executable on one or more servers to perform operations comprising:
-
enabling a client to define a Web service dynamically; storing, in memory on the one or more servers, code for different versions of script corresponding to the Web service, the different versions including at least one earlier version of the script and at least one later version of the script; receiving a call to the Web service from a device, the call comprising a HyperText Transfer Protocol (HTTP) command, the HTTP command identifying the script in accordance with a convention defined by a proprietor of the script; identifying the script corresponding to the Web service based on the HTTP command, the script defining a context among multiple contexts in which the script is to run, the context defining a set of privileges and permissions, the set of privileges and permissions being either generic or specific to an entity that created the Web service; executing, on the one or more servers, code corresponding to a version of the script in the context to implement the Web service, the code producing an output; and sending the output to the device; wherein an argument is received from the device with the call, the argument being associated with an aspect of an entity being monitored by the device; and wherein the version of the script obtains information associated with the argument and uses the information to produce the output. - View Dependent Claims (13, 14, 15)
-
-
16. One or more non-transitory machine-readable storage media storing instructions that are executable on one or more servers to perform operations comprising:
-
configuring the one or more servers to enable dynamic definition of a Web service, the Web service enabling access by, and interaction with, a monitoring agent; receiving, from a client associated with the monitoring agent, script defining the Web service, the script being stored in different versions in memory on the one or more servers, the different versions including at least one earlier version of the script and at least one later version of the script; compiling a version of the script on the one or more servers to produce machine-executable code for the Web service, the machine-executable code defining a context among multiple contexts for the script, the context defining a set of privileges and permissions, the set of privileges and permissions being either generic or specific to an entity that created the Web service; receiving a call to the Web service from the monitoring agent, the call comprising a HyperText Transfer Protocol (HTTP) command, the HTTP command identifying the script in accordance with a convention defined by a proprietor of the script; executing the machine-executable code in the context based on the call, wherein execution of the machine-executable code produces an output; and sending the output to the monitoring agent; wherein an argument is received from the monitoring agent with the call, the argument being associated with an aspect of an entity being monitored by the monitoring agent; and wherein execution of the machine-executable code comprises obtaining information associated with the argument and using the information to produce the output. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
-
23. One or more servers comprising:
-
one or more processing devices; and memory storing instructions that are executable by the one or more processing devices to perform operations comprising; enabling a client to define a Web service dynamically; storing, in memory on the one or more servers, code for different versions of script corresponding to the Web service, the different versions including at least one earlier version of the script and at least one later version of the script; receiving a call to the Web service from a device, the call comprising a HyperText Transfer Protocol (HTTP) command, the HTTP command identifying the script in accordance with a convention defined by a proprietor of the script; identifying the script corresponding to the Web service based on the HTTP command, the script defining a context among multiple contexts in which the script is to run, the context defining a set of privileges and permissions, the set of privileges and permissions being either generic or specific to an entity that created the Web service; executing, on the one or more servers, code corresponding to a version of the script in the context to implement the Web service, the code producing an output; and sending the output to the device; wherein an argument is received from the device with the call, the argument being associated with an aspect of an entity being monitored by the device; and wherein the version of the script obtains information associated with the argument and uses the information to produce the output.
-
-
24. One or more servers comprising:
-
one or more processing devices; and memory storing instructions that are executable by the one or more processing devices to perform operations comprising; configuring the one or more servers to enable dynamic definition of a Web service, the Web service enabling access by, and interaction with, a monitoring agent; receiving, from a client associated with the monitoring agent, script defining the Web service, the script being stored in different versions in memory on the one or more servers, the different versions including at least one earlier version of the script and at least one later version of the script; compiling a version of the script on the one or more servers to produce machine-executable code for the Web service, the machine-executable code defining a context among multiple contexts for the script, the context defining a set of privileges and permissions, the set of privileges and permissions being either generic or specific to an entity that created the Web service; receiving a call to the Web service from the monitoring agent, the call comprising a HyperText Transfer Protocol (HTTP) command, the HTTP command identifying the script in accordance with a convention defined by a proprietor of the script; executing the machine-executable code in the context based on the call, wherein execution of the machine-executable code produces an output; and sending the output to the monitoring agent; wherein an argument is received from the monitoring agent with the call, the argument being associated with an aspect of an entity being monitored by the monitoring agent; and wherein execution of the machine-executable code comprises obtaining information associated with the argument and using the information to produce the output.
-
Specification