Message model integrity

When you create your model, it is important that it is internally consistent and is capable of being generated into the form that you want; for example, a message dictionary or an XML Schema document.

To assist with this, whenever you save a message set file, it is validated as follows:

Logical validation
This validation ensures that the logical model is correct. For message definition files, this involves ensuring that the rules of XML Schema have been correctly followed.
Physical validation
This validation ensures that any physical formats that you have specified for your model have been correctly populated. There is a set of checks for each of the MRM domain physical formats - CWF, XML and TDS. This ensures that the MRM parser can parse and write messages that conform to your model.

Once validation has taken place, any errors or warnings are shown in the task list. Double clicking on a task list entry opens the file and positions the editor at the object in error. Organize the task list so that errors are shown before warnings. In this way, errors are not hidden. The task list provides a comprehensive filtering capability if you want to hide low priority warnings, or warnings that you are know about and are comfortable with.

The generation of a message dictionary or an XML Schema is prevented if any errors are present. The presence of warnings alone does not prevent generation, but high priority warnings must be reviewed because a model that generates such warnings might be incomplete.

Where task list warnings or errors occur, these are listed in the Problems view of the Broker Application Development perspective. While a majority of these require you to manually investigate and resolve them, a number of warnings and errors that meet specific criteria can be repaired using a quick fix process.

Related concepts
The message model
Message sets overview
Message definition files
Physical formats in the MRM domain
MRM Custom Wire Format
MRM XML physical format
MRM TDS format
Related tasks
Applying a Quick Fix to a task list error
Developing message models
Related reference
Message model task list errors that have a quick fix
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:21:03

ad10560_