Runtime validation of messages for enhanced web service processing
First Claim
Patent Images
1. A method for processing web service messages, the method comprising the computer-implemented steps of:
- an intermediary server receiving a message from a client, wherein said intermediary server handles communications between said client and a web service application;
the intermediary server identifying one or more corresponding schema definitions that a structure of a portion of the message is supposed to comply with;
the intermediary server determining whether the structure of the portion of the message complies with the one or more corresponding schema definitions to which the portion of the message is supposed to comply,wherein determining is performed by examining the one or more corresponding schema definitions;
if the structure is determined to comply with the one or more corresponding schema definitions, then the intermediary server passing the message to the web service application; and
wherein each of said one or more corresponding schema definitions defines at least one XML element;
if the structure is determined not to comply with the one or more corresponding schema definitions;
rejecting the message without communicating with said web service application; and
transmitting a second message to the client which indicates that a portion of the message does not comply with the one or more corresponding schema definitions to which the portion of the message is supposed to comply.
1 Assignment
0 Petitions
Accused Products
Abstract
Inbound processing of web service request messages at runtime is enhanced by providing validation of the message structure against corresponding schema, at an intermediary web service server rather than at the web service level (e.g., entirely by a web service application). Hence, there is minimal delay in responding to the client upon determining an invalid message structure, and unnecessary processing of invalid messages by the web service application is avoided.
-
Citations
21 Claims
-
1. A method for processing web service messages, the method comprising the computer-implemented steps of:
-
an intermediary server receiving a message from a client, wherein said intermediary server handles communications between said client and a web service application; the intermediary server identifying one or more corresponding schema definitions that a structure of a portion of the message is supposed to comply with; the intermediary server determining whether the structure of the portion of the message complies with the one or more corresponding schema definitions to which the portion of the message is supposed to comply, wherein determining is performed by examining the one or more corresponding schema definitions; if the structure is determined to comply with the one or more corresponding schema definitions, then the intermediary server passing the message to the web service application; and wherein each of said one or more corresponding schema definitions defines at least one XML element; if the structure is determined not to comply with the one or more corresponding schema definitions; rejecting the message without communicating with said web service application; and transmitting a second message to the client which indicates that a portion of the message does not comply with the one or more corresponding schema definitions to which the portion of the message is supposed to comply. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-readable storage medium storing one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform steps comprising:
- an intermediary server receiving a message from a client, wherein said intermediary server handles communications between said client and a web service application;
the intermediary server identifying one or more corresponding schema definitions that a structure of a portion of the message is supposed to comply with; the intermediary server determining whether the structure of the portion of the message complies with the one or more corresponding schema definitions to which the portion of the message is supposed to comply, wherein determining is performed by examining the one or more corresponding schema definitions; if the structure is determined to comply with the one or more corresponding schema definitions, then the intermediary server passing the message to the web service application; and wherein each of said one or more corresponding schema definitions defines at least one XML element; if the structure is determined not to comply with the one or more corresponding schema definitions; rejecting the message without communicating with said web service application; and transmitting a second message to the client which indicates that a portion of the message does not comply with the one or more corresponding schema definitions to which the portion of the message is supposed to comply. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
- an intermediary server receiving a message from a client, wherein said intermediary server handles communications between said client and a web service application;
-
21. A system for processing web service messages, the system comprising:
-
means for receiving a message from a client, at an intermediary server computer that handles communications between said client and a web service application; means for identifying, by the intermediary server computer, one or more corresponding schema definitions that a structure of a portion of the message is supposed to comply with; means for determining, by the intermediary server computer, whether the structure of the portion of the message complies with one or more corresponding schema definitions to which the portion of the message is supposed to comply; wherein determining is performed by examining the one or more corresponding schema definitions; and means for passing, by the intermediary server computer, the message to the web service application if the structure is determined to comply with the one or more corresponding schema definitions; wherein each of said one or more corresponding schema definitions defines at least one XML element; means for rejecting the message without communicating with said web service application if the structure is determined not to comply with the one or more corresponding schema definitions; and means for transmitting a second message to the client which indicates that a portion of the message does not comply with the one or more corresponding schema definitions to which the portion of the message is supposed to comply if the structure is determined not to comply with the one or more corresponding schema definitions.
-
Specification