Microsoft KB Archive/281947

= How to Set Up a BizTalk Flat File Configuration =

Article ID: 281947

Article Last Modified on 8/5/2004

-

APPLIES TO


 * Microsoft BizTalk Server 2000 Standard Edition

-



This article was previously published under Q281947



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:

BizFlatFileToXML.exe

The BizFlatFileToXML.exe file contains the following files:

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.



Steps to Set Up the Sample
 Run the BizFlatFileToXML.exe to extract the sample files. 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. Close the BizTalk Editor. Create two folders on your hard disk:

C:\FlatFile

C:\XMLDest

 Run the FlatSetup.vbs file by double-clicking it. 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

 For the Advanced options, set the following:

Envelope name: FlatToXML

Channel name: Flat To XML Channel

</li></ol>

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.

Additional query words: BizFlatFileToXML

Keywords: kbhowto kbdownload kbgraphxlinkcritical kbfile KB281947

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.