System and method for caching type information for un-typed web service requests
First Claim
1. A method of caching data type information for parts of a web service operation, comprising:
- receiving at a web service provider a web service request, the web service request identifying a first web service operation and one or more parameters associated with the first operation, wherein data type information of the one or more parameters is omitted from the web service request;
identifying an operation name of the first operation identified by the web service request;
determining whether a first local mapping registry for the first operation exists in a cache on the web service provider;
responsive to the first local mapping registry not existing in the cache, creating the first local mapping registry for the first operation in the cache,wherein the first local mapping registry is populated with data type information from a web service description document, the data type information being associated with the one or more parameters of the first operation, andwherein the first local mapping registry is specific to the first operation;
creating a merged mapping registry from a global mapping registry for a plurality of operations and the cached first local mapping registry;
un-marshalling the web service request using the data type information in the merged mapping registry; and
executing the first operation.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for caching type information for parts (e.g., parameters) of an operation passed in a web service request. When an untyped request (i.e., a request in which the data types of operation parts are omitted) is received at a web service server from a client, a cache is examined to determine if type information for the requested operation'"'"'s parts exists. If not, a cache entry specific to that operation is created and populate with the necessary type information (e.g., from a WSDL document corresponding to the web service). The type information for the operation, and any global type information (i.e., for data types global to the web service), is merged for use in unmarshalling the untyped request. The operation is invoked, and any results are returned to the client.
10 Citations
16 Claims
-
1. A method of caching data type information for parts of a web service operation, comprising:
-
receiving at a web service provider a web service request, the web service request identifying a first web service operation and one or more parameters associated with the first operation, wherein data type information of the one or more parameters is omitted from the web service request; identifying an operation name of the first operation identified by the web service request; determining whether a first local mapping registry for the first operation exists in a cache on the web service provider; responsive to the first local mapping registry not existing in the cache, creating the first local mapping registry for the first operation in the cache, wherein the first local mapping registry is populated with data type information from a web service description document, the data type information being associated with the one or more parameters of the first operation, and wherein the first local mapping registry is specific to the first operation; creating a merged mapping registry from a global mapping registry for a plurality of operations and the cached first local mapping registry; un-marshalling the web service request using the data type information in the merged mapping registry; and executing the first operation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer readable storage medium storing instructions that, when executed by a computer, cause the computer to perform a method of caching data type information for parts of a web service operation, the method comprising:
-
receiving at a web service provider a web service request, the web service request identifying a first web service operation and one or more parameters associated with the first operation, wherein data type information of the one or more parameters is omitted from the web service request; identifying an operation name of the first operation identified by the web service request; determining whether a first local mapping registry for the first operation exists in a cache on the web service provider; responsive to the first local mapping registry not existing in the cache, creating the first local mapping registry for the first operation in the cache, wherein the first local mapping registry is populated with data type information from a web service description document, the data type information being associated with the one or more parameters of the first operation, and wherein the first local mapping registry is specific to the first operation, creating a merged mapping registry from a global mapping registry for a plurality of operations and the cached first local mapping registry; un-marshalling the web service request using the data type information in the merged mapping registry; and executing the first operation.
-
-
12. A web server for storing data type information for untyped web service requests, comprising:
-
a receiver module configured to receive a web service request from a client identifying a first web service operation and one or more parameters associated with the first operation, wherein data type information of the one or more parameters is omitted from the web service request; a request parser configured to parse said request to identify an operation name of the first operation identified by the web service request; a cache located in the web server configured to store a first local mapping registry for the first web service operation, wherein the first local mapping registry is populated with data type information from a web service description document, the data type information being associated with the one or more parameters of the first operation, and wherein the first local mapping registry is specific to the first operation; a determination logic configured to determine whether the first local mapping registry for the first operation exists in the cache in the web server; a merged mapping registry configured to store contents from a global mapping registry for a plurality of operations and the cached first local mapping registry; and an un-marshaller configured to un-marshal said web service request using the data type information in the merged mapping registry. - View Dependent Claims (13, 14, 15, 16)
-
Specification