I have positional EDI Flat file in the below, each row has positional fields
ending wit 0x0A(LF).
My FF's Root node propertiies are:-
- <xs:element name="VsEDI855Flat">
- <xs:annotation>
- <xs:appinfo>
<b:recordInfo structure="delimited"
preserve_delimiter_for_empty_data="true" suppress_trailing_delimiters="false"
sequence_number="1" child_delimiter_type="hex" child_delimiter="0x0A"
child_order="default" />
</xs:appinfo>
</xs:annotation>
Error i'm getting is thies..
There was a failure executing the receive pipeline:
"EDDirect.VsEDI855FlatFileDisassembler, EDDirectSchemas, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=9b8871d5833801a1" Source: "Flat file
disassembler" Receive Port: "S855ReceivePort" URI:
"\\server\outFolder$\data\received\*.txt" Reason: The remaining stream has
unrecognizable data.
Thanks for any help/comments. I appreciate people taking time out to read m
problem & suggest ways to handle it. Truly.
--
Now how can i remove that CR at the end of the file.
I tried following:-
1. I set Use requirement on last Padded Field = Optional.
2. Suppress Trailing Delimiters = Yes on the root node of the schema.
Still it couldn't remove or ignore CR at the EOF.
Can anyone suggest any other way to avoid CR during read in the FlatFile
DIsassembler Pipeline??
--
Biztalk Beginner
>Can anyone suggest any other way to avoid CR during read in the FlatFile
>DIsassembler Pipeline??
Add a record to the end of the schema with an optional element inside.
--
eliasen, representing himself and not the company he works for.
Private blog: http://blog.eliasen.dk
Private email: j...@eliasen.dk
I thought i already did that... this is the last element of my schema. is
this exactly what you are saying??
<xs:attribute name="Pad16" type="xs:string" use="optional">
- <xs:annotation>
- <xs:appinfo>
<b:fieldInfo sequence_number="6" justification="left" pos_length="252" />
</xs:appinfo>
</xs:annotation>
</xs:attribute>
--
Biztalk Beginner
For instance in my case, the ORDERS01.xsd schema generated by "mySAP
Business Suite Schema Generation Wizard" has a child record “E1EDP19” with
“Tag Identifier” set to “E2EDP19001” where as the ORDERS01 IDoc that is being
sent by SAP has the segment marked with “E2EDP19002”. When the “Flat file
disassembler” got to this segment, it failed, as it could not recognize the
tag E2EDP19002 that is not declared in the schema. Result - the exception
‘There was a failure executing the receive pipeline: …. Source: "Flat file
disassembler" … Reason: The remaining stream has unrecognizable data.’ By
simply modifying the “Tag Identifier” property value to “E2EDP19002” in the
generated schema, the error vanished.
Adding the dummy Trailer Schema to the Receive pipeline would swallow the
rest of the message from the problem tag. This may not be helpful in cases
where there is some useful data being sent in the problem part of the
message. Again if your problem is only with the extra CRLF that is getting
into the message and there is no issue with the schema then adding the dummy
Trailer schema is really helpful as suggested at
http://www.biztalkgurus.com/forums/p/3833/7416.aspx.