Generating a tailored schema description of a web service
First Claim
1. A method of generating a tailored schema of a web service from a predefined schema of the web service, the predefined schema providing a machine readable description of operations performed by the web service and an Extensible Markup Language (XML) message format for communication with the web service, the method comprising:
- receiving, from an end user, an indication of a particular operation of the web service to be supported by the tailored schema, the particular operation selected by the end user from the operations performed by the web service;
receiving, from the end user, at least one example XML message that the tailored schema should support for requesting the particular operation;
determining, based at least in part on the at least one example XML message, a minimal subset of schema elements of the predefined schema required to support the particular operation;
generating the tailored schema to include only the minimal subset of schema elements of the predefined schema;
receiving an XML message requesting the particular operation; and
performing the particular operation using the tailored schema in response to receiving the XML message.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments relate to a method, computer program product, and a computer system for generating a tailored schema description of a web service from a predefined schema description of the web service is provided. The predefined schema provides a machine readable description of operations performed by the web service and a message format for communication with the web service. A subset of the predefined schema required to support an identified operation may be calculated based on at least one example message. A tailored schema may then be generated based on the calculated subset of the predefined schema.
12 Citations
17 Claims
-
1. A method of generating a tailored schema of a web service from a predefined schema of the web service, the predefined schema providing a machine readable description of operations performed by the web service and an Extensible Markup Language (XML) message format for communication with the web service, the method comprising:
-
receiving, from an end user, an indication of a particular operation of the web service to be supported by the tailored schema, the particular operation selected by the end user from the operations performed by the web service; receiving, from the end user, at least one example XML message that the tailored schema should support for requesting the particular operation; determining, based at least in part on the at least one example XML message, a minimal subset of schema elements of the predefined schema required to support the particular operation; generating the tailored schema to include only the minimal subset of schema elements of the predefined schema; receiving an XML message requesting the particular operation; and performing the particular operation using the tailored schema in response to receiving the XML message. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program product for generating a tailored schema of a web service from a predefined schema of the web service, the predefined schema providing a machine readable description of operations performed by the web service and an Extensible Markup Language (XML) message format for communication with the web service, wherein the computer program product comprises:
-
a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code configured to perform the method of; receiving, from an end user, an indication of a particular operation of the web service to be supported by the tailored schema, the particular operation selected by the end user from the operations performed by the web service; receiving, from the end user, at least one example XML message that the tailored schema should support for requesting the particular operation; determining, based at least in part on the at least one example XML message, a minimal subset of schema elements of the predefined schema required to support the particular operation; generating the tailored schema to include only the minimal subset of schema elements of the predefined schema; receiving an XML message requesting the particular operation; and performing the particular operation using the tailored schema in response to receiving the XML message. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer system adapted to generate a tailored schema of a web service from a predefined schema of the web service, the predefined schema providing a machine readable description of operations performed by the web service and a message format for communication with the web service, the system comprising:
-
one or more processors configured to perform a method comprising; receiving, from an end user, an indication of a particular operation of the web service to be supported by the tailored schema, the particular operation selected by the end user from the operations performed by the web service; receiving, from the end user, at least one example XML message that the tailored schema should support for requesting the particular operation; determining, based at least in part on the at least one example XML message, a minimal subset of schema elements of the predefined schema required to support the particular operation; generating the tailored schema to include only the minimal subset of schema elements of the predefined schema; receiving an XML message requesting the particular operation; and performing the particular operation using the tailored schema in response to receiving the XML message. - View Dependent Claims (14, 15, 16, 17)
-
Specification