Initially I was thinking to use SSIS to parse an EDI file, however I've seen a few manual EDI parsers (field mapping), and would like to use automate this functionality in C#.
Example EDI File:

Initially I was thinking to use SSIS to parse an EDI file, however I've seen a few manual EDI parsers (field mapping), and would like to use automate this functionality in C#.
Example EDI File:

This is for X12 and worked pretty well for my uses:
http://x12parser.codeplex.com/
It's command line, and just outputs an XML file for your EDI file.
You could possibly adapt it for your purposes.
I'm not familiar with the EDI file format, but would either of these help: