Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Question: writting schema for a complicated flat file › Question: writting schema for a complicated flat file
January 30, 2006 at 5:26 PM
#14318
Do you have something set as optional?
I think you might need another level in-between the top level root and your records. That would allow you to define the records as 1 to 1 and a 1 to many on the top level. Set this new level as Choice. Something like this:
Root
— Data (1 to Many) CHOICE
— Record (TYP) (1 to 1)
— Record (ENV) (1 to 1)
Also, make sure you test through a Send / Receive Port. Testing through Visual Stuidios can sometimes give errors that the FF Disassembler will not – at least in pre-SP1 this was the case.