on 01-04-2016 11:56 AM
Hello,
I am using an Sender File Adapter Channel and have configured content conversion. I get the below error.
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'Records':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this
I tried to add the LasFieldsOptional with YES as value, then it passes through but some of the fields are skipped at the end.
Sample File Image and Content Conversion Parameters below.
Hi Pranay,
I tried to add the LasFieldsOptional with YES as value, then it passes through but some of the fields are skipped at the end.
Can you please be more specific on where do you see fields are skipped , did u cross check the length mentioned in channel with the file in which you see missing fields
Regards,
Man
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello,
in mapping level add mapwithdefault function for each field,
Note: recommended for field fixed length we have to use that function mandatory to avoid issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am sure you had created as *.lastFieldsOptional is YES
but still want cross check with you
incase that not works, try again with this *.missingLastFields is YES
Note:above those two parameter should not use same time...also its case-sensitive
still wont works , try to share screenshot exact what you had done. if you are sure about config then try to recreate channel and use in agreement/ICO
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.