IntroductionThis article is intended to consolidate the principles of messaging in Biztalk Server 2006. Now we're going to analyze the business scenario where you are integrating data from a variety of sources, and some of these sources are legacy applications that may not have XML as the communication data format. One common format we deal with is the flat file.A flat file is an ASCII text file consisting of records of single type and there is no structure information about the relationships among the records, unlike XML which has a well defined structure. It consists of one or more records and each record contains one or more fields. Each field may contain a value or it is omitted. The width of the fields may be fixed or variable. In a fixed width file there is neither field delimiter and nor record delimiter. Empty spaces are filled with pad characters. In a variable width file there is a special character as delimiters (fields or records) such as tab character, the comma or the pipe character. The most common example is the CSV file.Let's create a sample flat file that is comma-separated for storing information about customers as shown in Listing 1. You can see that we have four records with three fields specifying Full name, Age and State of each customer.
Listing 1Now we're going to create a flat file schema through the Flat File Schema Wizard.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11ConclusionThis article explained the principles of Flat File and the creation of the underlying XML schema using the Flat File Schema Wizard. This wizard is one of the major improvements in Biztalk Server 2006.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: