Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Ignoring first record in Sender File content conversion

$
0
0

Hello Experts,

 

Need some Help/clue in File content conversion Sender. For some reason Sender File adapter FCC is ignoring first(Control) record/row while framing XML structure. Any idea please what is missing?

 

Here is my input file(CSV).

 

01,00001,20150112

02,00002,20150112

03,00003,S

 

Configuration in FCC CC.

Document Name: MT_Test

Document Namespace: http://test.com/xi/Test

Recordset Structure: Control,1,Header,1,Item,*

Recordset Sequence: Ascending

Recordsets per Message: *

Key Filed name: Key

KF Type: String(case-insensitive)

 

Control.fieldSeparator,
Control.processFieldNamesfromConfiguration
Control.fieldNamesID,Num,Date
Control.keyFieldValue01
Control.keyFieldInStructureadd
Control.endSeparator'nl'
Header.fieldSeparator,
Header.processFieldNamesfromConfiguration
Header.fieldNamesID,Num,Date
Header.keyFieldValue02
Header.keyFieldInStructureadd
Header.endSeparator'nl'
Item.fieldSeparator,
Item.processFieldNamesfromConfiguration
Item.fieldNamesID,Num,Date
Item.keyFieldValue03
Item.keyFieldInStructureadd
Item.endSeparator'nl'
Item.lastFieldsOptionalYES
ignoreRecordsetNametrue

 

 

For some reason, Control record/Node is NOT getting created from first line of CSV file(01,00001,20150112).



Here is the output which is against my configuration for FCC, where it is clearly missing Control record/Node with elements:


<?xml version="1.0" encoding="utf-8" ?>

<ns:MT_Test xmlns:ns="http://test.com/xi/Test">

- <Header>

       <ID>02</ID>

       <Num>00002</Num>

       <Date>20150112</Date>  

  </Header>

- <Item>

       <ID>03</ID>

       <Num>00003</Num>

       <Date>20150112</Date>

  </Item>

  </ns:MT_Test>

 

Thanks


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>