Share via


XML and XM Schemas in BizTalk Server Concepts

When you start a career in the systems integration area using BizTalk there are many concepts that you probably never saw. However, and because I believe that is more difficult to memorize the names than what they mean , I decided to provide a short glossary to facilitate your start into the world of XML within BizTalk.

Note that these concepts are simplified and they are only for the reader get a sense of the names and definitions of artefacts which may arise during the development in BizTalk. Should also be noted that these are just concepts related to XML in BizTalk Server, I say this because some concepts do not applied to XML out of Biztalk.

Record

Repository logical nodes. It may be of four types:

  • Complex (grouped other records)
  • Simple (string, int, date, etc.)
  • Any (any node A, may be even a Schema)
  • Attributes usergroups

        http://rpmachado.files.wordpress.com/2012/07/image_thumb.png?w=244&h=166

Envelope Schema

Batch Schema for messages. Contains one or more messages based on other Schemas

Data type

Type values ​​(int, string). We can create our own value types.

 

http://rpmachado.files.wordpress.com/2012/07/image_thumb1.png?w=371&h=278

 

Schema

Corresponds to an abstraction of XML, describing the same. Specifying its nodes, data type, and namespace hierarchies of nodes.

http://rpmachado.files.wordpress.com/2012/07/image_thumb2.png?w=482&h=313

 

Target Namespace

Allows BizTalk to distinguish entities that may occur N times in an integration.
Ex: two schemas named "Purchase Order" where only some nodes differ by targetName is that BizTalk makes the distinction between them.

http://rpmachado.files.wordpress.com/2012/07/image_thumb3.png?w=684&h=151

 

Namespace

Name of the BizTlk project

http://rpmachado.files.wordpress.com/2012/07/image_thumb4.png?w=683&h=272

 

Type Name

Name of a Project Schema (XSD file)

http://rpmachado.files.wordpress.com/2012/07/image_thumb5.png?w=386&h=402

 

Message Type

All messages parsed by a recognized Disasssembler have a message type. This is the message type that identifies each message. It is the combination of targetNamespace#rootNode.

Menu

rootNode

First element of the XML and it involves all other nodes.

http://rpmachado.files.wordpress.com/2012/07/image_thumb6.png?w=244&h=141

 

Xml Identity

Identifies the identity of the Schema and the identity of the body of the message based on the Schema. Tell us if the schema is based on BizTalk componenetes or not.

 

Become an accessible node within a XML message. It is often used for message routing. We can only promote properties which occur only once.

http://rpmachado.files.wordpress.com/2012/07/image_thumb7.png?w=520&h=193

 

Distinguished Properties

Makes a node available within an orchestration. For the purpose of accessing and manipulating message context properties within orchestrations we should use distinguished properties instead of promoted properties because this way we managed to have intellisense and dot syntax facilitating programming.

http://rpmachado.files.wordpress.com/2012/07/image_thumb8.png?w=528&h=207

 

Schema import

Create new schemas from existing ones. Lets do this even with different schemas with targetNamespaces.

http://rpmachado.files.wordpress.com/2012/07/image_thumb9.png?w=612&h=308

 

Schema Include

Allows you to extend an existing schema to another. They need to have the same targetNamespaces.

http://rpmachado.files.wordpress.com/2012/07/image_thumb10.png?w=381&h=262

 

Schema Redefine

Allows you to reset and reuse datatypes created in other schemas. They need to have the same targetNamespaces.

http://rpmachado.files.wordpress.com/2012/07/image_thumb11.png?w=383&h=263

 

Thanks

Rui Pedro Machado

See Also

Another important place to find a huge amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.