Problems with File Dissasembler

Home Page Forums BizTalk 2004 – BizTalk 2010 Problems with File Dissasembler

Viewing 0 reply threads
  • Author
    Posts
    • #20979

      I am not a Guru … I am sorry to say at this point I am a BizTalk Noob.

      I am trying to read in a flat file and have it parsed by the dissasembler pipeline.

      However, I have run into issues:

      The text file would be formatted:

      PIDLocation_ID{tab}MID{tab}DID{tab}CN{tab}CNS{tab}SN{tab}ST{tab}SDCD{tab}PLACENAME{tab}X{tab}Y{CR}{LF}

      The following is the schema that was generated by the flat file dissasembler wizard:

      <?xml version=”1.0″ encoding=”utf-16″ ?>

      <xs:annotation>
      <xs:appinfo>
        <schemaEditorExtension:schemaInfo namespaceAlias=”b extensionClass=”Microsoft.BizTalk.FlatFileExtension.FlatFileExtension standardName=”Flat File xmlns:schemaEditorExtension=”http://schemas.microsoft.com/BizTalk/2003/SchemaEditorExtensions />
        <b:schemaInfo standard=”Flat File codepage=”65001 default_pad_char=” pad_char_type=”char count_positions_by_byte=”false parser_optimization=”speed lookahead_depth=”3 suppress_empty_nodes=”false generate_empty_nodes=”true allow_early_termination=”false early_terminate_optional_fields=”false allow_message_breakup_of_infix_root=”false compile_parse_tables=”false root_reference=”Root />
        </xs:appinfo>
        </xs:annotation>
      <xs:element name=”Root>
      <xs:annotation>
      <xs:appinfo>
        <b:recordInfo structure=”delimited child_delimiter_type=”hex child_delimiter=”0x9 child_order=”infix sequence_number=”1 preserve_delimiter_for_empty_data=”true suppress_trailing_delimiters=”false />
        </xs:appinfo>
        </xs:annotation>
      <xs:complexType>
      <xs:sequence>
      <xs:annotation>
      <xs:appinfo>
        <groupInfo sequence_number=”0 xmlns=”http://schemas.microsoft.com/BizTalk/2003 />
        </xs:appinfo>
        </xs:annotation>
      <xs:element name=”PID type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”1 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”Location_ID type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”2 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”MID type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”3 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”DID type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”4 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”CN type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”5 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”CNS type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”6 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”SN type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”7 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”ST type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”8 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”SDCD type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”9 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”PLACENAME type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”10 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”X type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”11 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
      <xs:element name=”Y type=”xs:string>
      <xs:annotation>
      <xs:appinfo>
        <b:fieldInfo justification=”left sequence_number=”12 />
        </xs:appinfo>
        </xs:annotation>
        </xs:element>
        </xs:sequence>
        </xs:complexType>
        </xs:element>
        </xs:schema>
      The follwoing is the information I get from the Application Log:

      A message received by adapter “FILE” on receive location “Receive Location1” with URI “C:\snb_import\Receive\*.txt” is suspended.

      Error details: There was a failure executing the receive pipeline: “snb_import_orc.ReceivePipeline1, snb_import_orc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b4d40fc94a6f0d07” Source: “Flat file disassembler” Receive Port: “ReceivePort1” URI: “C:\snb_import\Receive\*.txt” Reason: Unable to match the data in the input stream.

      MessageId: {A0AE8CE9-75DE-41F9-B527-8563E5517509}

      InstanceID: {F54296C5-86D3-41C1-A38E-F28FDBE57B37}

      I hope that someone can help me with this issue.

      Any information is greatly appreciated.

Viewing 0 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.