| Rebecca 2004-06-30, 7:49 am |
| I'm a goob. It works great if you use the correct input.
I had:
SourceFile
INV123
321 this is a desc
US another desc
INV456
654 John Dow
US July Dow
INV789
987 John Connor
US Sarah Connor
The correct input for the schema is:
SourceFile
INV1
CusNum InvDesc
INV2
CusNum InvDesc
INV2
CusNum InvDesc
Thanks for helping me through it!
--
Thanks,
Rebecca
""David Downing [MSFT]"" wrote:
> Rebecca,
>
> The first thing I'd take a look at is the settings on your Send Port /
> Transport Properties to make sure you don't have it set to "Append". If
> that's not the case, I'd run the FFDasm.exe utility to determine if the
> input flat file is being broken into multiple documents. You can find the
> utility in "...\Microsoft BizTalk Server
> 2004\SDK\Utilities\PipelineTools\". If you execute the utility from a
> command window using the following: "FFDasm.exe TestInstance.txt -bs
> MySchema.xsd" you should see multiple text files created in the directory
> you run the utility from... these text files will have the format
> {GUID}.xml.
>
> I created a project and added your schema, generated a test instance file,
> modified the instance file to contain multiple messages and ran the utility
> and everything worked correctly. I'm attaching my schema and test instance
> for your reference.
>
> If you still can't get it working, if possible zip up your project and
> include it in another post.
>
> Dave
>
>
> --------------------
> record
> record
> project included in the sdk (EnvelopeProcessing). I have mirrored it as
> precisely as possible, but am only getting the first record in my output.
> in the sample project, but I can't seem to duplicate it.
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> PolicyFilePath="BTSTransmitPolicy.xml" MajorVersion="1" MinorVersion="0">
> xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
> attributeFormDefault="unqualified" elementFormDefault="unqualified"
> targetNamespace="http://EmailInvoices.InvBatch"
> xmlns:xs="http://www.w3.org/2001/XMLSchema">
> root_reference="Invoice" />
> extensionClass="Microsoft.BizTalk.FlatFileExtension.FlatFileExtension"
> standardName="Flat File"
> xmlns:schemaEditorExtension="http://schemas.microsoft.com/BizTalk/2003/Schem
> aEditorExtensions" />
> preserve_delimiter_for_empty_data="true"
> suppress_trailing_delimiters="false" sequence_number="1"
> rootTypeName="Invoice" child_delimiter_type="hex" child_delimiter="0x0D
> 0x0A" child_order="postfix" tag_name="INV" />
> preserve_delimiter_for_empty_data="true"
> suppress_trailing_delimiters="false" />
> />
> />
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> EBusiness Server Team
|