The XMLNSC parser can validate an XML message against any deployed
XML schema.
You can validate an XML message against an XML schema when the message
is parsed, when the message is serialized, or at any point within a message
flow.
To construct a message flow for schema validation, you must perform
the following tasks:
- Enable validation at the appropriate point within the message flow.
See Validating messages.
- Ensure that you have deployed all XML Schema files that are required.
See Deploying an XML Schema.
- Specify the message set in which the schema was deployed; this
is done using the MessageSet property of the message. See Accessing the Properties tree.
Schemas are deployed within a message set, and are identified by
supplying the message set name in the message properties.