Schema validation

Home Page Forums BizTalk 2004 – BizTalk 2010 Schema validation

Viewing 1 reply thread
  • Author
    Posts
    • #21101

      Hi

      I have a FF schema. I go to the properties and set the “output instance” and “input instance” to the SAME file.
      I click “generate instance” and it succeeds – I then say “validate instance” and it fails – but it was generated by the SAME schema!! It is the SAME file!!!
      How can it CREATE a file based on a schema and then fail that same file!!??

      That is weird.

      BTW I have both set to NATIVE.

      TIA

    • #21104

       Have you tried the output to be XML? The default is xml. The imput is native and the output is xml. Also did you set the schema editor extension to flat file extension? I hope that helps.

      • #21120

        Thanks.

        Yes I have checked all that. The problem that led me to this is as follows:

        I have 2 orchs in the same project – the first one outputs a csv file (works fine). The second one consumes the CSV file. The FF receive pipeline on Orch2 uses the same schema as the FF send pipeline on Orch1.
        Orch1 outputs a CSV file but when it comes time to conusme the same file into Orch 2’s FF receive pipeline it fails with the following error:

        There was a failure executing the receive pipeline: “xxxx.Pipelines.yyyy_Invoices_In_CSV” Source: “Flat file disassembler” Receive Location: “C:\temp\xxx\Out\*.csv” Reason: Unexpected data found while looking for:


        The current definition being parsed is Document_Header. The stream offset where the error occured is 157. The line number where the error occured is 2. The column where the error occured is 91.

         TIA

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