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 a web service request, said web service request identifying a first web service operation and one or more parts associated with said first operation, wherein data type information of the one or more parts is omitted from said web service request;
identifying said first operation;
determining whether said data type information is cached;
retrieving said data type information from a description document configured to describe the web service;
caching said data type information in a first local registry;
un-marshalling said web service request; and
executing said 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.
13 Citations
18 Claims
-
1. A method of caching data type information for parts of a web service operation, comprising:
-
receiving a web service request, said web service request identifying a first web service operation and one or more parts associated with said first operation, wherein data type information of the one or more parts is omitted from said web service request;
identifying said first operation;
determining whether said data type information is cached;
retrieving said data type information from a description document configured to describe the web service;
caching said data type information in a first local registry;
un-marshalling said web service request; and
executing said 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 a web service request, said web service request identifying a first web service operation and one or more parts associated with said first operation, wherein data type information of the one or more parts is omitted from said web service request;
identifying said first operation;
determining whether said data type information is cached;
retrieving said data type information from a description document configured to describe the web service;
caching said data type information in a first local registry;
un-marshalling said web service request; and
executing said first operation.
-
-
12. A web server for storing data type information for untyped web service requests, comprising:
-
a receiver module configured to receive an untyped request for a web service from a client;
a request parser configured to parse said untyped request to identify a first operation of the web service;
a cache configured to store a local registry for each of one or more operations of the web service, including a first local registry corresponding to said first operation, wherein each said local registry is configured to store data type information for parts of the corresponding operation. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A computer readable storage medium containing a data structure configured for storing data type information of parameters of web service operations, the data structure comprising:
-
for each of a plurality of web service operations, a corresponding entry comprising data type information for a set of parameters local to the web service operation; and
an index of said entries;
wherein each said entry is created only after a request is received for said corresponding web service operation. - View Dependent Claims (18)
-
Specification