Click to Rate and Give Feedback
MSDN
MSDN Library
BizTalk Server
BizTalk Server 2009
Development
Testing Schemas
 How to Validate Instance Messages

  Switch on low bandwidth view
How to Validate Instance Messages

After you have constructed a schema, you can check your work by validating a pre-existing instance message that you know is a good representation of such instance messages against the schema.

This topic provides step-by-step instructions for this validation task.

  1. In Solution Explorer, right-click the schema, and then click Properties.

  2. If necessary, in the Properties window, expand the General section of the General tab by clicking its plus (+) icon.

  3. In the Input Instance Filename property value field, either type the name of a file or use the ellipsis (...) button at the right end of the value field to browse for a file that contains the instance message to be validated against the schema, and then click Open.

  4. In Solution Explorer, right-click the schema name, and then click Validate Instance.

  5. In the Output window, view the results. Success and error messages are displayed in this window.

Aa577644.note(en-us,MSDN.10).gifNote
There are some cases instance messages generated from a particular schema may not pass validation with that same schema. For more information about such cases, see Known Issues with Schema Generation and Validation. Generally, you will want to edit a generated instance message and change the data it contains so that it more realistically represents your scenario. Then use this modified instance message to validate your schema.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker