on 2013 Sep 30 11:45 AM
Hi All,
I want to convert CSV (Comma Separated Value) to XML format.So here In sender channel I am using File adapter with FileContentConvertion. I got Exception named bellow " conversion initilization Failed ,java.lang.Exception Error(s) in XML Convertion Parameter found.Format Error in 'xml.recordset' argument incomplete structure (name ,number) pair. "
Please help me how to resolve this issue.
PFA Screen shots my Scenario.
Input File Content:
2069,Mahesh,80000.00
Input is CSV , So In Sender Channel use File Adapter , and I am using File Content Conversion tab and Specify following details regarding input format
I Tested my Message Mapping, it is success.
But I got Exception " Conversion initialization Failed ,java.lang.Exception Error(s) in XML Conversion Parameter found.Format Error in 'xml.recordset' argument incomplete structure (name ,number) pair"
Please help me how to resolve , I think I did mistake in File Content Conversion ,Help me is there any modifications.
--
Thanks
Mahesh Mediboyina
Request clarification before answering.
Hi Mahesh
You need to add the following parameters in the parameter section
Recordset.fieldSepartor ( value will be , (comma)
Recordset.endSepartor ( value will be 'nl')
If you use key then you need to add the following paramter
Recordset.keyFieldValue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.