Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Create Positional Flat File › Re: Create Positional Flat File
Hi sbrown63,
I have created a BizTalk sample project for you, just click on my avatar on BizTalkGurus website, go to the section My Files on my profile page on the right hand side, click on the link View All Files, and look for the zipped file sbrown63.zip and download it to your local machine. When you unzip the file, it will create a project location with all the BizTalk artifacts. You only need to provide your own assembly key file (containing both public and private keys) to strongly name your assembly before deploying it.
To test this application (a message routing-only scenario), in BizTalk Server Administration console, create a one-way Receive Port with a Receive location (of Transport Type equal to FILE and Receive Pipeline equal to Xml Receive) and a static one-way Send Port with the following settings:
1. Send Pipeline will be assigned the custom send pipeline containing the flat file assembler component (deployed from the project).
2. Outbound Maps tab will have one entry which is the custom map (mapping the XML schema to the Positional Flat file schema) deployed from the project.
3. A destination folder with a valid path where your positional flat file will be output.
Once your Send Port and Receive Location are enabled in the administration console, you can use the provided InputXml.xml file (from the project) and drop it into your receive folder location and see the output positional flat file as a result.
Hopefully, this approximates what you are looking for…
Daniel.