cancel
Showing results for 
Search instead for 
Did you mean: 

FCC Error

Former Member
0 Kudos

Hi...

I am having input file as shown below.

The input structure which i have defined as shown below.

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

<ns0:MTO_ReverseFeed_File xmlns:ns0="http://test.com/payment/NEFT_RTGS">

<Record>

<ReverseFeed>

<HEADER/>

<TRANSACTION_REF_NUMBER/>

<ACKNOWLEDGEMENT/>

<REASONCODE/>

<TAG/>

</ReverseFeed>

</Record>

</ns0:MTO_ReverseFeed_File>

In FCC, i have configured the like

DocumentName --- MTO_ReverseFeed_File

DocumentNamesapce --- http://test.com/payment/NEFT_RTGS

RecorsetName --- Record

RecordsetStructure --- ReverseFeed,*

ReverseFeed.fieldNames--- HEADER,TRANSACTION_REF_NUMBER,ACKNOWLEDGEMENT,REASONCODE,TAG

ReverseFeed.field.fieldSeparator --- 'nl'

ReverseFeed.processConfiguration --- FromConfiguration

ReverseFeed.field.endSeparator -- 'nl'

While testing the scenario, i am getting the below error.

Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'ReverseFeed.fieldFixedLengths' or 'ReverseFeed.fieldSeparator' is missing Consistency check: no. of arguments in 'ReverseFeed.fieldFixedLength' does not match 'ReverseFeed.fieldNames' (0 <> 5)

Can you please help in this issue.

Thanks & Regards,

Leela

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

in FCC parameter you have specified:

ReverseFeed.field.fieldSeparator --- 'nl'

ReverseFeed.field.endSeparator -- 'nl'

Instead of above specify:

ReverseFeed.fieldSeparator --- 'nl'

ReverseFeed.endSeparator -- 'nl'

Regards,

Rajeev Gupta

Edited by: RAJEEV GUPTA on Mar 17, 2009 4:42 PM

Edited by: RAJEEV GUPTA on Mar 17, 2009 4:43 PM

Answers (2)

Answers (2)

former_member206760
Active Contributor
0 Kudos

This is happening because both your field seperator and end seperator are 'nl'.

what is happening is every time there is a 'nl'..it is considering that as a new record and hence end seperator is not taking effect.

i suggest you use differeent field seperator and end seperator

GabrielSagaya
Active Contributor
0 Kudos

Please use the below one

DocumentName --- MTO_ReverseFeed_File

DocumentNamesapce --- http://test.com/payment/NEFT_RTGS

RecorsetName --- Record

RecordsetStructure --- ReverseFeed,*

ReverseFeed.fieldNames--- HEADER,TRANSACTION_REF_NUMBER,ACKNOWLEDGEMENT,REASONCODE,TAG

ReverseFeed.fieldSeparator --- 'nl'

ReverseFeed.processConfiguration --- FromConfiguration

ReverseFeed.endSeparator -- 'nl'

Former Member
0 Kudos

Hi...

I have configured in the above specified way.

i am getting the output like,

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

- <ns:MTO_ReverseFeed_File xmlns:ns="http://axis.com/payment/NEFT_RTGS">

- <Record>

- <ReverseFeed>

<HEADER></HEADER>

</ReverseFeed>

</Record>

</ns:MTO_ReverseFeed_File>

Only First FileName is repeating. I am not getting the remianing field names and ReveseFeed is repeating for every time.

Can you please check where i have done the mistake.

Thanks,

Leela