tian-zhihui / cordysfilecon

Automatically exported from code.google.com/p/cordysfilecon
Apache License 2.0
0 stars 0 forks source link

ReadFileRecords fails on optional first record #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. define attached read configuration and store in XML store.
2. execute ReadFileRecords with attached file
3. note that not more records are read than until the first that is missing the 
first record of the defined recordsequence.

What is the expected output? 
Expect that the first record of a "recordsequence" can be optional when defined 
with "*".

What do you see instead?
Stops reading records.

What version of the product are you using? 
2.1.1 with BOP4.1 CU7.1

On what operating system?
WIN-7 64bit

SOAP request:
------------
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP:Body>
    <ReadFileRecords xmlns="http://schemas.cordys.com/1.0/ac/FileConnector">
       <filename>D:\Cordys\Kunden\Lufthansa\DEZ_2012\docs\E1\ET000\E1ET000P\ETLIFTS\A4U\G0686V00.hb.test1</filename>
    <filetype>lh_etl_100</filetype>
    <numrecords>12</numrecords>
    <offset>902</offset>
    <validateonly>false</validateonly>
    <usetupleold>false</usetupleold>
    <continueonerror>true</continueonerror>
    </ReadFileRecords>
  </SOAP:Body>
</SOAP:Envelope>

Result:
---------
<ReadFileRecordsResponse xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns="http://schemas.cordys.com/1.0/ac/FileConnector">
    <errorrecords />
    <endoffset>24354</endoffset>
    <recordsread>3</recordsread>
    <endoffile>false</endoffile>
    <errorcount>0</errorcount>
    <data>
      <tuple>
        <cabincls05>
          <R05RecordType>05</R05RecordType>
...

The attached sample file however contains 6 recordsets.

Original issue reported on code.google.com by hboec...@cordys.com on 27 Nov 2012 at 5:51

GoogleCodeExporter commented 8 years ago
files attached.

Original comment by hboec...@cordys.com on 27 Nov 2012 at 5:52

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by hboec...@cordys.com on 27 Nov 2012 at 5:53

Attachments: