XMLschemas are not validated by default in BizTalk receive pipelines. However, you can configure OOTB components to do so. This slide deck shows two different ways you can achieve this, discussing the pros & cons of each method.
9. www.briztalk.org
Using the XmlReceive
Pipeline
PROS:
• No custom components
required
• Can be configured by an
administrator
CONS:
• Getting
DocumentSpecNames
correct can be tricky
• Schema validation
function is hidden
• Problems if two or more
schemas share the same
target namespace
10. www.briztalk.org
Using the XmlReceive
Pipeline
PROS:
• No custom components
required
• Can be configured by an
administrator
CONS:
• Getting
DocumentSpecNames
correct can be tricky
• Schema validation
function is hidden
• Problems if two or more
schemas share the same
target namespace
http://mindovermessaging.com/2013/07/29/
duplicate-namespace-issue-with-schema-validation-in-pipeline-components/
12. www.briztalk.org
Using a Custom Pipeline
PROS:
• Don’t have to specify fully-
qualified names of the
schemas
• Dedicated pipeline makes
validation feature obvious
• Better handling of multiple
schemas sharing same
target namespace
CONS:
• Requires component
development &
deployment