Skip to Content
0

Error in Receiver File Adapter FCC

Jun 08, 2017 at 01:43 PM

130

avatar image
Former Member

Hi, i am doing a file to file scenario where i used FCC in both sender and receiver side i configured everything i checked in CC Monitoring for sender side it generated Messaged Id also but coming to Receiver CC it is in green color but in processing details it showing the error as:

" Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing "


And xml structure :


<?xml version="1.0" encoding="UTF-8"?>
- test.com">
-<RecordSet>
-<Header>
<field1>123</field1>

<field2>123</field2>

<field3>1234</field3>

<field4>123</field4>

<field5>123</field5>

<field6>20172017</field6>

<field7>X2017-B1520170</field7>

<field8>4HK125</field8>

<Date>20170215</Date>
</Header>
</RecordSet>

Receiver Fcc:


Please any buddy help me how to resolve this issue.


Thanks,

Siva



receiver-fcc.png (16.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Jun 08, 2017 at 02:47 PM
0

Hi Siva,
Can you try removing the field names? You won't need them for content conversion in the receiver FCC. The other three parameters look correct to me assuming that what you want is a flat file with one line per occurrence of "RecordSet" and all elements in "Header" written to the line, separated by comma.
I haven't used content conversion in a receiver adapter for a while but I used to explicitly specify whether or not I wanted to see a header line (Header.addHeaderLine = 0/1/2) but I believe that this parameter is optional if you don't want one.

Regards,

Patrick

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Patrick Weber,

I removed field names but no luck it's not working.

Regards, Siva

0