Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to Set Up a BizTalk Flat File Configuration


View products that this article applies to.

This article was previously published under Q281947

↑ Back to the top


Summary

Some organizations may have a need to translate an inbound flat file source document into an XML destination document. This article uses the same document specification for both the inbound and the outbound documents, and therefore does not require a map.

The BizFlatFileToXML.exe file that accompanies this article is a self-extracting file that contains prepared files to assist in this task.

If you are having problems understanding how flat files are used in the BizTalk environment, this article and the self-extracting BizFlatFileToXML.exe file will provide you with a simple example of how to work with flat files.

The following file is available for download from the Microsoft Download Center:
The BizFlatFileToXML.exe file contains the following files:

Collapse this tableExpand this table
File NameSize
FlatConfig.xml5.46 KB (5,600 bytes)
FlatSetup.vbs23.7 KB (24,282 bytes)
testcomics.txt23.7 KB (24,282 bytes)
Comic.xml2.31 KB (2,370 bytes)
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591� How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

↑ Back to the top


More information

Steps to Set Up the Sample

  1. Run the BizFlatFileToXML.exe to extract the sample files.
  2. Open the BizTalk Editor, open the Comic.xml file that is in the Doc folder, and then click Store to WebDAV on the File menu.
  3. Close the BizTalk Editor.
  4. Create two folders on your hard disk:
    C:\FlatFile
    C:\XMLDest
  5. Run the FlatSetup.vbs file by double-clicking it.
  6. Open the BizTalk Administrator, and then create a File Receive function called TestFlat with the following parameters:
    File types to poll for: *.txt
    Polling Location: C:\FlatFile
  7. For the Advanced options, set the following:
    Envelope name: FlatToXML
    Channel name: Flat To XML Channel

Running the sample


  1. Copy the Testcomics.txt file to the C:\FlatFile folder.
  2. Open the C:\XMLDest folder to see the file that BizTalk copied to the folder.

↑ Back to the top


Keywords: KB281947, kbhowto, kbgraphxlinkcritical, kbfile, kbdownload, kbdownload

↑ Back to the top

Article Info
Article ID : 281947
Revision : 8
Created on : 8/5/2004
Published on : 8/5/2004
Exists online : False
Views : 428