By default, BizTalk Server will examine only the namespace and the root node name of a message to identify and validate the schema, and will not detect extra elements in message body.
To perform a deep validation of a message format, you have to:
- Create a Receive Pipeline with the XML Disassembler component;
- Specify the schema to validate message against
- And set “Validate Document Structure” propertie to True.
XML Disassembler, only validate the structure of input XML document, if you want to validate any restrictions specified in the schema, you have to use the XML Validator component in “Validate” stage of the receive pipeline.
Tags: BizTalk | Schema | Pipeline
