Testing compatibility with web services
First Claim
1. A method performed by data processing apparatus, the method comprising:
- receiving a request from a first client device;
obtaining an original response to the request from a web service, wherein the web service provides responses according to a web service schema that specifies requirements for the format of the responses provided by the web service, wherein the requirements are satisfied by a plurality of possible response formats, wherein the original response conforms to a first response format of the plurality of possible response formats that satisfy the requirements specified by the web service schema, wherein the web service is an Extensible Markup Language (XML) service, and wherein the web service schema is an XML schema;
selecting a second, different response format of the plurality of possible response formats that each satisfy the requirements for responses specified by the web service schema for responses provided by the web service, wherein selecting the second, different response format comprises selecting a response format that (i) is different from both the first response format and from one or more response formats selected for one or more previous responses to requests received from the first client device and (ii) satisfies the requirements for responses specified by the web service schema;
modifying the original response so that it conforms to the second, different response format instead of the first response format to generate a modified response, wherein both the original response and the modified response satisfy the requirements specified by the web service schema for responses provided by the web service; and
sending the modified response to the first client device in place of the original response.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for testing the compatibility of client devices with web services. In one aspect, a method includes receiving a request from a first client device; obtaining a response to the request from a web service, wherein the web service provides responses according to a web service schema that defines a plurality of possible response formats, and wherein the response conforms to a first response format of the plurality of possible response formats; selecting a second, different response format of the plurality of possible response formats defined by the web service schema; modifying the response to generate a modified response, wherein the modified response conforms to the second, different response format; and sending the modified response to the first client device.
28 Citations
27 Claims
-
1. A method performed by data processing apparatus, the method comprising:
-
receiving a request from a first client device; obtaining an original response to the request from a web service, wherein the web service provides responses according to a web service schema that specifies requirements for the format of the responses provided by the web service, wherein the requirements are satisfied by a plurality of possible response formats, wherein the original response conforms to a first response format of the plurality of possible response formats that satisfy the requirements specified by the web service schema, wherein the web service is an Extensible Markup Language (XML) service, and wherein the web service schema is an XML schema; selecting a second, different response format of the plurality of possible response formats that each satisfy the requirements for responses specified by the web service schema for responses provided by the web service, wherein selecting the second, different response format comprises selecting a response format that (i) is different from both the first response format and from one or more response formats selected for one or more previous responses to requests received from the first client device and (ii) satisfies the requirements for responses specified by the web service schema; modifying the original response so that it conforms to the second, different response format instead of the first response format to generate a modified response, wherein both the original response and the modified response satisfy the requirements specified by the web service schema for responses provided by the web service; and sending the modified response to the first client device in place of the original response. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system comprising data processing apparatus and a storage medium encoded with instructions which, when executed by the data processing apparatus, cause the data processing apparatus to perform operations comprising:
-
receiving a request from a first client device; obtaining an original response to the request from a web service, wherein the web service provides responses according to a web service schema that specifies requirements for the format of the responses provided by the web service, wherein the requirements are satisfied by a plurality of possible response formats, wherein the original response conforms to a first response format of the plurality of possible response formats that satisfy the requirements specified by the web service schema, wherein the web service is an Extensible Markup Language (XML) service, and wherein the web service schema is an XML schema; selecting a second, different response format of the plurality of possible response formats that each satisfy the requirements for responses specified by the web service schema for responses provided by the web service, wherein selecting the second, different response format comprises selecting a response format that (i) is different from both the first response format and from one or more response formats selected for one or more previous responses to requests received from the first client device and (ii) satisfies the requirements for responses specified by the web service schema; modifying the original response so that it conforms to the second, different response format instead of the first response format to generate a modified response, wherein both the original response and the modified response satisfy the requirements specified by the web service schema for responses provided by the web service; and sending the modified response to the first client device in place of the original response. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory storage medium encoded with instructions which, when executed by data processing apparatus, cause the data processing apparatus to perform operations comprising:
-
receiving a request from a first client device; obtaining an original response to the request from a web service, wherein the web service provides responses according to a web service schema that specifies requirements for the format of the responses provided by the web service, wherein the requirements are satisfied by a plurality of possible response formats, wherein the original response conforms to a first response format of the plurality of possible response formats that satisfy the requirements specified by the web service schema, wherein the web service is an Extensible Markup Language (XML) service, and wherein the web service schema is an XML schema; selecting a second, different response format of the plurality of possible response formats that each satisfy the requirements for responses specified by the web service schema for responses provided by the web service, wherein selecting the second, different response format comprises selecting a response format that (i) is different from both the first response format and from one or more response formats selected for one or more previous responses to requests received from the first client device and (ii) satisfies the requirements for responses specified by the web service schema; modifying the original response so that it conforms to the second, different response format instead of the first response format to generate a modified response, wherein both the original response and the modified response satisfy the requirements specified by the web service schema for responses provided by the web service; and sending the modified response to the first client device in place of the original response. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification