0
www.briztalk.org
SchemaValidation
Validating Messages in a Receive Pipeline
DanToomey
MCPD, MCTS, MCT
Brisbane BizTalk Use...
www.briztalk.org
XMLValidation in BizTalk
• XmlReceive
• BTS.MessageType == <targetNamespace>#<rootNodeName>
XmlReceive
Xm...
www.briztalk.org
Using the XmlReceive
Pipeline
www.briztalk.org
Using the XmlReceive
Pipeline
• DocumentSpecNames
www.briztalk.org
Using the XmlReceive
Pipeline
• DocumentSpecNames
• ValidateDocument
www.briztalk.org
Specifying Document Spec
Names
BrizTalk.SchemaValidation.Request1,BrizTalk.SchemaValidation, Version=1.0....
www.briztalk.org
Specifying Document Spec
Names
|
BrizTalk.SchemaValidation.Request1,BrizTalk.SchemaValidation, Version=1....
www.briztalk.org
Specifying Document Spec
Names
BizTalk
Administration
Console
www.briztalk.org
Using the XmlReceive
Pipeline
PROS:
• No custom components
required
• Can be configured by an
administrat...
www.briztalk.org
Using the XmlReceive
Pipeline
PROS:
• No custom components
required
• Can be configured by an
administrat...
www.briztalk.org
Using a Custom Pipeline
XmlDisassembler
Disassemble
XmlValidator Validate
www.briztalk.org
Using a Custom Pipeline
PROS:
• Don’t have to specify fully-
qualified names of the
schemas
• Dedicated p...
www.briztalk.org
Summary
XmlReceive
XmlValidator
www.briztalk.org
Brisbane BizTalk User Group
https://www.facebook.com/BrisbaneBizTalkUserGroup
@briztalk
Upcoming SlideShare
Loading in...5
×

Schema Validation in BizTalk 2010

1,165

Published on

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.

Published in: Technology, Business
1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total Views
1,165
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
20
Comments
1
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "Schema Validation in BizTalk 2010"

  1. 1. www.briztalk.org SchemaValidation Validating Messages in a Receive Pipeline DanToomey MCPD, MCTS, MCT Brisbane BizTalk User Group Leader http://mindovermessaging.com/
  2. 2. www.briztalk.org XMLValidation in BizTalk • XmlReceive • BTS.MessageType == <targetNamespace>#<rootNodeName> XmlReceive XmlValidator
  3. 3. www.briztalk.org Using the XmlReceive Pipeline
  4. 4. www.briztalk.org Using the XmlReceive Pipeline • DocumentSpecNames
  5. 5. www.briztalk.org Using the XmlReceive Pipeline • DocumentSpecNames • ValidateDocument
  6. 6. www.briztalk.org Specifying Document Spec Names BrizTalk.SchemaValidation.Request1,BrizTalk.SchemaValidation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=917e3a9ed61ea472
  7. 7. www.briztalk.org Specifying Document Spec Names | BrizTalk.SchemaValidation.Request1,BrizTalk.SchemaValidation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=917e3a9ed61ea472 | BrizTalk.SchemaValidation.Request2, BrizTalk.SchemaValidation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=917e3a9ed61ea472
  8. 8. www.briztalk.org Specifying Document Spec Names BizTalk Administration Console
  9. 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. 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/
  11. 11. www.briztalk.org Using a Custom Pipeline XmlDisassembler Disassemble XmlValidator Validate
  12. 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
  13. 13. www.briztalk.org Summary XmlReceive XmlValidator
  14. 14. www.briztalk.org Brisbane BizTalk User Group https://www.facebook.com/BrisbaneBizTalkUserGroup @briztalk
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×