Web services response templates
First Claim
1. A method for transferring data between a client computer and a web service, comprising:
- defining a template schema, based upon an information model, wherein the information model characterizes web service data and the web service data is data delivered by the web service;
defining a plurality of request templates, each template of the plurality of template corresponding to a particular subset of the web service data and consistent with the template schema;
selecting a particular request template of the plurality of request templates;
customizing the particular request template based upon specific information requirements of a requestor to generate a customized request template;
collecting the subset of web service data specified in the customized request template;
generating a response template consistent with the template schema and the customized request template, wherein the subset of web service data is incorporated into the response template; and
transmitting the response template, including the incorporated subset of web service data, from the web service to the client computer.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided is a Web Services Response Template (WSRT) that addresses the problems of efficiency and robustness to change in Web Services response by allowing a requestor to explicitly specify, in a response template what information is to be returned by the request. A requestor of a web service gets just the information it needs; different requestors of the same operation may get different information; and a responder sends the requestor only what is asked for so there is no problem when new information becomes available. WSRTs are specifically designed to allow the type of control needed in program-to-program (P2P) communication, while being very efficiently and simply processed by a web service. Thus, WSRTs address difficulties that arise in typical distributed, P2P communication without adding much overhead or complexity to either a service requester or a service provider. The efficiency and flexibility afforded by WSRTs is essential to emerging enterprise architectures based on SOA (Service Oriented Architecture).
-
Citations
12 Claims
-
1. A method for transferring data between a client computer and a web service, comprising:
-
defining a template schema, based upon an information model, wherein the information model characterizes web service data and the web service data is data delivered by the web service; defining a plurality of request templates, each template of the plurality of template corresponding to a particular subset of the web service data and consistent with the template schema; selecting a particular request template of the plurality of request templates; customizing the particular request template based upon specific information requirements of a requestor to generate a customized request template; collecting the subset of web service data specified in the customized request template; generating a response template consistent with the template schema and the customized request template, wherein the subset of web service data is incorporated into the response template; and transmitting the response template, including the incorporated subset of web service data, from the web service to the client computer. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for specifying information transfer between a client computer and a web service, comprising:
-
defining a template schema, based upon an information model, wherein the information model characterizes web service data and the web service data is data delivered by the web service; customizing a request template based upon specific information requirements of a requestor to generate a customized request template and consistent with the template schema, wherein the request template specifies a subset of the data associated with the web service; generating the customized request template; collecting the subset of data specified in the customized request template; generating a response template consistent with the template schema and the customized request template, wherein the subset of web service data is incorporated into the response template; and transmitting the response template, including the incorporated subset of web service data, from the web service to the client computer. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification