BizTalk Schema validation – Default and Deep Validation

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 the 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” property 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.

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

1 thought on “BizTalk Schema validation – Default and Deep Validation”

Leave a Reply

Your email address will not be published. Required fields are marked *

turbo360

Back to Top