Skip to main content

BizTalk Interview Questions - Schemas - Part 2

Hope you have read the previous blog for the interview questions on the Microsoft BizTalk Server based on the schemas. If not then please go here Schemas Part 1
Referenced from the below website

1.      What is the Message?
Each message in BizTalk Server is considered a multi-part message and is made up of zero or more parts. Each message with one or more parts has one of these parts identified as the body part. Each part consists of a binary chunk of data which can represent an XML document, a flat file, a serialized .NET class, or other binary stream of data. You use the body part of the message to identify the type of the message that can be used for routing. See MSDN The BizTalk Server Message

2.      What is the difference between BizTalk (Schema) Editor and BizTalk Schema Generator?
BizTalk Editor resides within the Microsoft Visual Studio shell. Some of the functionality within BizTalk Editor relies upon existing user interface elements within the Visual Studio shell. See Using BizTalk Editor.
BizTalk can automatically create the schema from DTD, well formed XML, XDR. To do this schema generator is used.

3.      How is schema generator invoked?
Right-click the project in Solution Explorer and select Add Generated Items --> Generate Schemas.

4.      What is InstallWFX.vbs script?
It is a script which when run installs the BizTalk Schema Generator. It is used when generating a schema from existing items. It's likely to get error first time or after updates "WFX to XSD Schema generation module is not installed". Then this script can be used to install the schema generator.

5.      Can "EDI" be a part of Namespace?
It can be but it should be avoided in the projects that uses BizTalk EDI engine as during run time there can be conflicts with this and expected results might not be seen.

6.      Is it possible to promote XML record of ComplexContent?
No. To promote XML record its Content Type property should be set SimpleContent.

7.      What is the maximum length allowed for promoted properties?
255 characters

8.      What is the maximum length allowed for Distinguished fields?
It can be of any length, no limits.

9.      How to create an XPath alias to a field which can be used in decision making in Orchestration?
The Distinguished field is an XPath alias to the field. To create it, right-click the element-->Promote-->Show promotion-->Add

10.  What is element?
An element in a schema designates a specific location in the schema where new elements or attributes can be added. When BizTalk uses the schema to process a message containing unknown elements or attributes in the designated location, the schema will still consider the message valid.

11.  What is the Root Node?
It's a node within a BizTalk Server schema that represents the outermost XML element in the business document specified by the schema.

12.  How BizTalk engine identifies a unique schema?
BizTalk uses a combination of namespace#rootnode to define the schema type of a message, thereby making a MessageType unique (for example: In other words, BizTalk uses this combination to identify and resolve schemas references.

13.  How BizTalk engine performs a validation of an instance of the message against the Schema?
By default, BizTalk Server will examine only the namespace and the root node name of a message to identify and validate the schema, and will not detect extra elements in the message body. To perform a deep validation of a message format, you have to create a Custom Pipeline with the XML Disassembler component.

14.  What are encoding options available used by BizTalk when creating schema?
There are various options but BizTalk always uses UTF-16 encoding for their schemas. See More.

15.  How is schema namespace added by BizTalk when creating schema?
By default, the BizTalk Editor will set the namespace of a schema to http://ProjectName.SchemaName. 

16.  What is the difference between XSD and DTD? 
Difference between XSD and DTD are listed below:
XSD are written in XML.
XSD support data types.
XSD support namespaces.
XSD is extensible to future additions.
XSD is richer and more powerful than DTDs.

Popular posts from this blog

Solution for Candy Crush Facebook error "Cannot connect to facebook. you do not have access"

This is for iphone

If you are getting the following error in candy crush while connecting to facebook. And if you are ahead in iphone with more levels than facebook then do the following it is 100% working solution 1.first download the following app
2. Now connect your iphone and open the iexplorer app. In this in app section search for candy crush.

3. Right click on candy crush folder and export it on your drive. This will backup your current candy crush on your PC.

4.Now delete the candy crush app from your mobile and download and install again.

5. After installing start the candy crush and it will ask you to connect to facebook, and it will sync all the level of facebook.

6. So now to get to the previous level you again have to connect iphone to pc and open iexplorer app and search for candy crush app.

7. Now in iexplorer go to Candy Crush\Documents and click to import and browse to the same folder in your pc and select all files whose name…

BizTalk Interview Questions - Schemas - Part 1

I hope these series of blogs helps you in preparing for the Biz Talk expertise for clearing the interview and become the BizTalk Developer.
I have referenced many sites and blogs for these questionnaires, so please don't forget to give credit for the actual owner.
Question have been referred from the below website

1.What are Schemas and different type of Schema’s A schema is a term borrowed from the database world to describe the structure of data in relational tables. In the context of XML, a schema describes a model for a whole class of documents. See MSDN:  Different Types of BizTalk Schemas. 1) Document Schema:-Regular schema to define the structure of an XML instance message  2) Flat file schema: - A flat file schema defines the structure of a class of instance messages that use a flat file format, either delimited or positional or some combination.  3) Enve…