BizTalk Gurus

Background of schema

rated by 0 users
Not Answered This post has 0 verified answers | 2 Replies | 2 Followers

Top 500 Contributor
5 Posts
Devendran posted on Thu, Jan 21 2010 5:42 AM

Hi,

While reading biztalk recipes book, lots of questions are coming out of my mind. Some are below

1. What schemas internally doing?

2.  What is complex type schemas any real time example?

3. If quick promotion is occupying more memory than distinguish promotion then why are we using quick promotion?

4. Why quick promotion is occupying more memory than distinguish promotion?

5. What is property schema?

Can anyone please answer these questions...... Thanks in advance.

All Replies

Top 10 Contributor
877 Posts

1, The schema is a message specification. It specifies the message type (targetnamespace#root node). It can be used to validate messages in the pipeline using the XmlDisassembler or XmlValidator pipeline components. It contains the the specifications for promoted properties and distinguished fields. It contains the envelope property thst controls pipeline debatching. A flat file schema contains instructions for the Flat File Assembler and Disassembler to parse or serialize a flat file to/from Xml. An EDI schema does the same for Edifact, X12 or EANCOM messages....

2. There are many examples of complex schemas . e.g UBL http://docs.oasis-open.org/ubl/os-UBL-2.0/UBL-2.0.html and http://docs.oasis-open.org/ubl/os-UBL-2.0/xsd/

3. The message context contains promoted properties and distinguished fields. The promoted properties can be used for message routing where as the distinguished fields are only available inside an orchestration ( or custom pipeline code). Each promoted property is limited to 256 characters while a distinguished field has no limit.  The MessageBox pub/sub mechanism relies on promoted properties without them it would not work.

4. I am not sure promoted properties do consume more memory than distinguished fields e.g the BTS.MessageType promoted property value is typically less than 100 characters, whereas a distinguished field could contain megabytes of data.

5 . A property schema is where you define your promoted properties. The quick promotion button is just a short cut to creating the property schema. You can define your on promoted properties that can be used for content-based routing and controlling the pub/sub mechanism central to BizTalk.

 

 

Top 500 Contributor
5 Posts

Thanks a lot Greg,

I got some userful information.....

Page 1 of 1 (3 items) | RSS