SlideShare a Scribd company logo
1 of 18
Download to read offline
8/30/2014
1
BizTalk – Message
Schemas
AboorvaRaja Ramar
BizTalk Tutor
CONTENTS
• XML schema in BizTalk Server
• BizTalk Schema Editor
• Document Schemas
• Envelop Schemas
• Property Schemas
• Flat File schemas
• Best Practices
8/30/2014
2
OVERVIEW OF SCHEMA
• BizTalk Server uses the XML Schema definition (XSD) language to define the structure
of all messages that it processes, and refers to these definitions of message structure
as schemas.
• Structured Messages are instances of schema created which is actual data organized in
a xml format, which can take any form, large or small, and target a wide array of back-
end systems and data stores.
• BizTalk Editor is designed to simplify the process of defining a message schema and
validating whether a particular message conforms to that schema. In the process of
defining schemas and validating messages.
8/30/2014
3
XML SCHEMA AND XML INSTANCE
8/30/2014
4
BizTalk uses the XML schema definition language
(XSD)
An XML schema defines:
• Elements
• Attributes
• Data types
• Order of tags
• Mandatory fields
• Multiple occurrences
XML Schema
- - -
<xs:element name="Item">
<xs:complexType>
<xs:sequence>
<xs:element name="Description“ type="xs:string" />
<xs:element name="Quantity" type="xs:int" />
<xs:element name="UnitPrice" type="xs:string" />
<xs:element name="TotalPrice" type="xs:decimal" />
<xs:element name="ItemID" type="xs:long" />
</xs:sequence>
</xs:complexType>
</xs:element>
XML Instance
- -
<Item> <Description>Description_0</Description>
<Quantity>10</Quantity>
<UnitPrice>UnitPrice_0</UnitPrice>
<TotalPrice>10.4</TotalPrice>
<ItemID>10</ItemID>
</Item>
ABOUT SCHEMA
8/30/2014
5
• Schema Types:
 XML: Supports native XML message types
 Flat file: Supports both delimited and positional
files
 Envelope: Supports all the above file types
 Property: Schema in which properties or
attributes are promoted so that they can be used
as key elements
Multiple Schemas:
 Multiple schemas can be present in a Biztalk
solution
 Import: Schema from other namespaces can be
imported into another schema (Data structure
type)
 Include: Schema from the same namespace can be
included in another schema (Data structure type)
 Redefine: Schemas from the same namespace can
be can be included into another schema to derive
the properties (Base data type)
CREATING BIZTALK XML SCHEMAS
8/30/2014
6
• Schema creation steps:
 Create schema from scratch using BizTalk Editor
 Promoting a schema property
 Validating a schema
 Generate an instance message from schema
 Building a Schema Project
CREATING SCHEMA USING BIZTALK EDITOR
8/30/2014
7
Schema
Tree View
XSD
View
PROMOTING A SCHEMA PROPERTY
8/30/2014
8
TESTING A SCHEMA
8/30/2014
9
9
Validate
XSD
Create XMLCreate XML
CREATING SCHEMA AND INSTANCE
8/30/2014
10
• Validate Schema: --
• In Solution Explorer, right-click the schema that you want to validate, and then click Validate
Schema.
• In the Output window, view the results. Success and error messages are displayed in this window.
• Validate Instance:--
• In Solution Explorer, right-click the schema, and then click Properties. The <Schema file
name.xsd> Property Pages dialog box opens.
• If necessary, in the <Schema file name.xsd> Property Pages dialog box, expand the General
section of the General tab by clicking its plus (+) icon.
• In the Input Instance Filename property value field, either type the name of a file or use the ellipsis
(...) button at the right end of the value field to browse for a file that contains the instance message to
be validated against the schema, and then click OK.
• In Solution Explorer, right-click the schema name, and then click Validate Instance.
• In the Output window, view the results. Success and error messages are displayed in this window.
• Generate Instance:--
• In Solution Explorer, right-click the schema for which you want to generate an instance message, and
then click Generate Instance.
• In the Output window, view the results. Success and error messages are displayed in this window.
BUILDING A SCHEMA PROJECT
8/30/2014
11
• Build Project
BizTalk
Project
XSD
Schema
Compile
.NET
Assembly
DLL
Building a Project
 Compiles the project items (schemas)
 Creates an assembly (DLL file)
 Stores the assembly DLL in the project subfolder
(…binDevelopment)
 Displays any errors or warnings in the task list
DOCUMENT SCHEMAS
8/30/2014
12
• An XML Schema described the structure of an XML document.
• A document schema is like any regular schema.
• A document schema is used to define a message. It is a definition on an Xml
message with optional extensions for flat files, EDI file, etc that enable the parsers to
convert the native format into Xml.
ENVELOPE SCHEMAS
8/30/2014
13
• XML Envelope can be used to combine multiple XML documents into single, valid
XML instance message. Without an envelope to wrap multiple documents within a
single root tag, an XML instance message containing multiple documents would not
qualify as well- formed XML.
• You can create an envelope schema in all of the same ways that you can create
an XML schema for a business document.
• To define a schema as an envelope schema, you need to set the Envelope
property of the Schema node to the value Yes.
PROPERTY SCHEMAS
8/30/2014
14
• A property schema enables you to define promoted properties in a common location and
have them referenced by other schemas.
• A property schemas can have namespace but not record or attributes.
• Elements define in the property schema have a name and type.
Promoted property Vs Distinguished fields
• In BizTalk you can promote a property as either distinguished or promoted properties.
Distinguished fields
• In general use distinguished fields if you want to just use them in Orchestration.
• No restriction in filed length.
• No participation in routing
• No separate property schema
Promoted Properties
• These are generally used with routing (send port filters), tracking, correlation etc.
• Field restriction (255)
• Separate property schema
FLAT FILE SCHEMAS
8/30/2014
15
 Although BizTalk is based on the use of XML message formats internally, and you are strongly
encouraged to use XML for the creation of new messages, in some circumstances you need
to work with flat files.
 A flat file, unlike an XML file, does not have any visible inherent structure. A flat file's structure
is evident from its usage and also requires some domain knowledge to understand its
representation.
 Creating structure also applies to flat files, as does the information regarding record and
field node properties.
 But where data fields in XML messages are known to be delimited with tags and attributes of
known syntax, we know little more about delimited and positional files than that they follow
certain conventions.
 A flat file structure is of several types: Delimited flat file, Positional flat file, A flat file with
combination of Delimited and Positional records.
BEST PRACTICES
8/30/2014
16
 Always assign a unique root name for each schema
 Use versioning information in the root node name
 Promote only the properties needed for content based routing
 Use distinguished fields only when required in an orchestration
 Test the validity of a schema by using a known document instance
 Included schemas must be from the same namespace
 Imported schemas must be from different namespaces
8/30/2014
17
8/30/2014
18

More Related Content

What's hot

E. Saif Ababseh CV
E. Saif Ababseh CVE. Saif Ababseh CV
E. Saif Ababseh CV
Ababseh Saif
 

What's hot (20)

Ingénieur FullStack Java/Angular
Ingénieur FullStack Java/Angular  Ingénieur FullStack Java/Angular
Ingénieur FullStack Java/Angular
 
Support de cours Spring M.youssfi
Support de cours Spring  M.youssfiSupport de cours Spring  M.youssfi
Support de cours Spring M.youssfi
 
Introduction to Design Pattern
Introduction to Design  PatternIntroduction to Design  Pattern
Introduction to Design Pattern
 
eServices-Tp1: Web Services
eServices-Tp1: Web ServiceseServices-Tp1: Web Services
eServices-Tp1: Web Services
 
Ab initio beginner's course topic 1
Ab initio beginner's course   topic 1Ab initio beginner's course   topic 1
Ab initio beginner's course topic 1
 
Uml upxp2
Uml upxp2Uml upxp2
Uml upxp2
 
Google App Engine - INTRO
Google App Engine - INTROGoogle App Engine - INTRO
Google App Engine - INTRO
 
eServices-Tp2: bpel
eServices-Tp2: bpeleServices-Tp2: bpel
eServices-Tp2: bpel
 
Chp3 - ESB
Chp3 - ESBChp3 - ESB
Chp3 - ESB
 
OSI models
OSI modelsOSI models
OSI models
 
Hadoop Hbase - Introduction
Hadoop Hbase - IntroductionHadoop Hbase - Introduction
Hadoop Hbase - Introduction
 
P3 listes et elements graphiques avancés
P3 listes et elements graphiques avancésP3 listes et elements graphiques avancés
P3 listes et elements graphiques avancés
 
Traitement distribue en BIg Data - KAFKA Broker and Kafka Streams
Traitement distribue en BIg Data - KAFKA Broker and Kafka StreamsTraitement distribue en BIg Data - KAFKA Broker and Kafka Streams
Traitement distribue en BIg Data - KAFKA Broker and Kafka Streams
 
Globus toolkit in grid
Globus toolkit in gridGlobus toolkit in grid
Globus toolkit in grid
 
E. Saif Ababseh CV
E. Saif Ababseh CVE. Saif Ababseh CV
E. Saif Ababseh CV
 
Kinh nghiệm triển khai Microservices tại Sapo.vn
Kinh nghiệm triển khai Microservices tại Sapo.vnKinh nghiệm triển khai Microservices tại Sapo.vn
Kinh nghiệm triển khai Microservices tại Sapo.vn
 
Distributed database management system
Distributed database management systemDistributed database management system
Distributed database management system
 
Services web soap-el-habib-nfaoui
Services web soap-el-habib-nfaouiServices web soap-el-habib-nfaoui
Services web soap-el-habib-nfaoui
 
Exposé de SE Systemes distribués
Exposé de SE Systemes distribuésExposé de SE Systemes distribués
Exposé de SE Systemes distribués
 
Lab2-DB-Mongodb
Lab2-DB-MongodbLab2-DB-Mongodb
Lab2-DB-Mongodb
 

Viewers also liked

Viewers also liked (8)

Introduction to BizTalk for Beginners
Introduction to BizTalk for BeginnersIntroduction to BizTalk for Beginners
Introduction to BizTalk for Beginners
 
Biz Talk Overview
Biz Talk OverviewBiz Talk Overview
Biz Talk Overview
 
Introduction to BizTalk Server 2010
Introduction to BizTalk Server 2010Introduction to BizTalk Server 2010
Introduction to BizTalk Server 2010
 
My cool newSlideshow!
My cool newSlideshow!My cool newSlideshow!
My cool newSlideshow!
 
BizTalk Server – Basics principles of maps
BizTalk Server – Basics principles of mapsBizTalk Server – Basics principles of maps
BizTalk Server – Basics principles of maps
 
BizTalk Messaging Architecture
BizTalk Messaging ArchitectureBizTalk Messaging Architecture
BizTalk Messaging Architecture
 
Automated Testing for BizTalk HL7 Solutions
Automated Testing for BizTalk HL7 SolutionsAutomated Testing for BizTalk HL7 Solutions
Automated Testing for BizTalk HL7 Solutions
 
BizTalk Orchestration Fundamentals
BizTalk Orchestration FundamentalsBizTalk Orchestration Fundamentals
BizTalk Orchestration Fundamentals
 

Similar to BizTalk Server- Schema

Lecture 1 - Getting to know XML
Lecture 1 - Getting to know XMLLecture 1 - Getting to know XML
Lecture 1 - Getting to know XML
phanleson
 
Artefactos biz talk 2006
Artefactos biz talk 2006Artefactos biz talk 2006
Artefactos biz talk 2006
Sandro Pereira
 
Validating Xml
Validating XmlValidating Xml
Validating Xml
LiquidHub
 
Data interchange integration, HTML XML Biological XML DTD
Data interchange integration, HTML XML Biological XML DTDData interchange integration, HTML XML Biological XML DTD
Data interchange integration, HTML XML Biological XML DTD
AnushaMahmood
 

Similar to BizTalk Server- Schema (20)

Xml
XmlXml
Xml
 
Markup For Dummies (Russ Ward)
Markup For Dummies (Russ Ward)Markup For Dummies (Russ Ward)
Markup For Dummies (Russ Ward)
 
Xml
XmlXml
Xml
 
Unit iv xml dom
Unit iv xml domUnit iv xml dom
Unit iv xml dom
 
Xml
XmlXml
Xml
 
Lecture 1 - Getting to know XML
Lecture 1 - Getting to know XMLLecture 1 - Getting to know XML
Lecture 1 - Getting to know XML
 
Artefactos biz talk 2006
Artefactos biz talk 2006Artefactos biz talk 2006
Artefactos biz talk 2006
 
XML1.pptx
XML1.pptxXML1.pptx
XML1.pptx
 
Xml
XmlXml
Xml
 
Validating Xml
Validating XmlValidating Xml
Validating Xml
 
Er2000
Er2000Er2000
Er2000
 
Data interchange integration, HTML XML Biological XML DTD
Data interchange integration, HTML XML Biological XML DTDData interchange integration, HTML XML Biological XML DTD
Data interchange integration, HTML XML Biological XML DTD
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
Xml schema
Xml schemaXml schema
Xml schema
 
XMl
XMlXMl
XMl
 
Xml iet 2015
Xml iet 2015Xml iet 2015
Xml iet 2015
 
XML, XML Databases and MPEG-7
XML, XML Databases and MPEG-7XML, XML Databases and MPEG-7
XML, XML Databases and MPEG-7
 
Tutor Xml Gxs
Tutor Xml GxsTutor Xml Gxs
Tutor Xml Gxs
 
XML Schema.pdf
XML Schema.pdfXML Schema.pdf
XML Schema.pdf
 
Java Web Services
Java Web ServicesJava Web Services
Java Web Services
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 

Recently uploaded (20)

Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 

BizTalk Server- Schema

  • 2. CONTENTS • XML schema in BizTalk Server • BizTalk Schema Editor • Document Schemas • Envelop Schemas • Property Schemas • Flat File schemas • Best Practices 8/30/2014 2
  • 3. OVERVIEW OF SCHEMA • BizTalk Server uses the XML Schema definition (XSD) language to define the structure of all messages that it processes, and refers to these definitions of message structure as schemas. • Structured Messages are instances of schema created which is actual data organized in a xml format, which can take any form, large or small, and target a wide array of back- end systems and data stores. • BizTalk Editor is designed to simplify the process of defining a message schema and validating whether a particular message conforms to that schema. In the process of defining schemas and validating messages. 8/30/2014 3
  • 4. XML SCHEMA AND XML INSTANCE 8/30/2014 4 BizTalk uses the XML schema definition language (XSD) An XML schema defines: • Elements • Attributes • Data types • Order of tags • Mandatory fields • Multiple occurrences XML Schema - - - <xs:element name="Item"> <xs:complexType> <xs:sequence> <xs:element name="Description“ type="xs:string" /> <xs:element name="Quantity" type="xs:int" /> <xs:element name="UnitPrice" type="xs:string" /> <xs:element name="TotalPrice" type="xs:decimal" /> <xs:element name="ItemID" type="xs:long" /> </xs:sequence> </xs:complexType> </xs:element> XML Instance - - <Item> <Description>Description_0</Description> <Quantity>10</Quantity> <UnitPrice>UnitPrice_0</UnitPrice> <TotalPrice>10.4</TotalPrice> <ItemID>10</ItemID> </Item>
  • 5. ABOUT SCHEMA 8/30/2014 5 • Schema Types:  XML: Supports native XML message types  Flat file: Supports both delimited and positional files  Envelope: Supports all the above file types  Property: Schema in which properties or attributes are promoted so that they can be used as key elements Multiple Schemas:  Multiple schemas can be present in a Biztalk solution  Import: Schema from other namespaces can be imported into another schema (Data structure type)  Include: Schema from the same namespace can be included in another schema (Data structure type)  Redefine: Schemas from the same namespace can be can be included into another schema to derive the properties (Base data type)
  • 6. CREATING BIZTALK XML SCHEMAS 8/30/2014 6 • Schema creation steps:  Create schema from scratch using BizTalk Editor  Promoting a schema property  Validating a schema  Generate an instance message from schema  Building a Schema Project
  • 7. CREATING SCHEMA USING BIZTALK EDITOR 8/30/2014 7 Schema Tree View XSD View
  • 8. PROMOTING A SCHEMA PROPERTY 8/30/2014 8
  • 10. CREATING SCHEMA AND INSTANCE 8/30/2014 10 • Validate Schema: -- • In Solution Explorer, right-click the schema that you want to validate, and then click Validate Schema. • In the Output window, view the results. Success and error messages are displayed in this window. • Validate Instance:-- • In Solution Explorer, right-click the schema, and then click Properties. The <Schema file name.xsd> Property Pages dialog box opens. • If necessary, in the <Schema file name.xsd> Property Pages dialog box, expand the General section of the General tab by clicking its plus (+) icon. • In the Input Instance Filename property value field, either type the name of a file or use the ellipsis (...) button at the right end of the value field to browse for a file that contains the instance message to be validated against the schema, and then click OK. • In Solution Explorer, right-click the schema name, and then click Validate Instance. • In the Output window, view the results. Success and error messages are displayed in this window. • Generate Instance:-- • In Solution Explorer, right-click the schema for which you want to generate an instance message, and then click Generate Instance. • In the Output window, view the results. Success and error messages are displayed in this window.
  • 11. BUILDING A SCHEMA PROJECT 8/30/2014 11 • Build Project BizTalk Project XSD Schema Compile .NET Assembly DLL Building a Project  Compiles the project items (schemas)  Creates an assembly (DLL file)  Stores the assembly DLL in the project subfolder (…binDevelopment)  Displays any errors or warnings in the task list
  • 12. DOCUMENT SCHEMAS 8/30/2014 12 • An XML Schema described the structure of an XML document. • A document schema is like any regular schema. • A document schema is used to define a message. It is a definition on an Xml message with optional extensions for flat files, EDI file, etc that enable the parsers to convert the native format into Xml.
  • 13. ENVELOPE SCHEMAS 8/30/2014 13 • XML Envelope can be used to combine multiple XML documents into single, valid XML instance message. Without an envelope to wrap multiple documents within a single root tag, an XML instance message containing multiple documents would not qualify as well- formed XML. • You can create an envelope schema in all of the same ways that you can create an XML schema for a business document. • To define a schema as an envelope schema, you need to set the Envelope property of the Schema node to the value Yes.
  • 14. PROPERTY SCHEMAS 8/30/2014 14 • A property schema enables you to define promoted properties in a common location and have them referenced by other schemas. • A property schemas can have namespace but not record or attributes. • Elements define in the property schema have a name and type. Promoted property Vs Distinguished fields • In BizTalk you can promote a property as either distinguished or promoted properties. Distinguished fields • In general use distinguished fields if you want to just use them in Orchestration. • No restriction in filed length. • No participation in routing • No separate property schema Promoted Properties • These are generally used with routing (send port filters), tracking, correlation etc. • Field restriction (255) • Separate property schema
  • 15. FLAT FILE SCHEMAS 8/30/2014 15  Although BizTalk is based on the use of XML message formats internally, and you are strongly encouraged to use XML for the creation of new messages, in some circumstances you need to work with flat files.  A flat file, unlike an XML file, does not have any visible inherent structure. A flat file's structure is evident from its usage and also requires some domain knowledge to understand its representation.  Creating structure also applies to flat files, as does the information regarding record and field node properties.  But where data fields in XML messages are known to be delimited with tags and attributes of known syntax, we know little more about delimited and positional files than that they follow certain conventions.  A flat file structure is of several types: Delimited flat file, Positional flat file, A flat file with combination of Delimited and Positional records.
  • 16. BEST PRACTICES 8/30/2014 16  Always assign a unique root name for each schema  Use versioning information in the root node name  Promote only the properties needed for content based routing  Use distinguished fields only when required in an orchestration  Test the validity of a schema by using a known document instance  Included schemas must be from the same namespace  Imported schemas must be from different namespaces