on 03-17-2009 3:00 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.