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
https://social.technet.microsoft.com/wiki/contents/articles/19063.biztalk-developer-interview-questions-and-answers-schema.aspx
Referenced from the below website
https://social.technet.microsoft.com/wiki/contents/articles/19063.biztalk-developer-interview-questions-and-answers-schema.aspx
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.
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.
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.
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.
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.
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.
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
255 characters
8.
What is the maximum length allowed for Distinguished fields?
It can be of any length, no limits.
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
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.
An
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.
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: http://mynamespace.com#MyRootNode). In other words, BizTalk uses this combination to identify and resolve schemas references.
BizTalk uses a combination of namespace#rootnode to define the schema type of a message, thereby making a MessageType unique (for example: http://mynamespace.com#MyRootNode). 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.
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.
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.
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.
Comments
Post a Comment