Patent attributes
The present invention generally provides a message validation model. Specifically, the present invention provides a message validation layer/framework that allows rules such as message validation rules to be plugged into/attached to a logical model. This model allows (among other things) schema level rules or the like to be converted to message level rules at deployment time. Specifically, the rules (like the physical representations) are serialized as annotations on the logical model. From this model, a query (e.g., XSL or XQuery) can be generated to validate and check if the instance documents comply with such rules or a Java based rules execution engine can be developed/utilized that uses XPATH (or another query language) to determine the source and dependent elements and executes the rules.