cancel
Showing results for 
Search instead for 
Did you mean: 

Error in sender FCC

vijay_b4
Active Contributor
0 Kudos

Hi,

I am facing an error in sender fcc its:

Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 1 according to structure 'Pricebook_Data':java.lang.Exception: ERROR in configuration / structure 'Pricebook_Data.': More elements in file csv structure than field names specified!

My source structure is :

Pricebook_abc (root1)

Pricebook_Data (root2)

field1

field2

and my sender fcc is:

Document name : Pricebook_abc

Document namespace: urn:xxxxxxx

Recordset name: pricebook

Recordset structure: Pricebook_Data,*

Recordsets per message: *

Pricebook_Data.fieldNames field1,field2

Pricebook_Data.fieldSeparator ,

Pricebook_Data.endSeparator 'nl'

ignoreRecordsetName true

I am unable to rectify the error. Please help me.

Thanks & Regards,

Pragathi.

Edited by: Pragathi on Jan 15, 2010 1:40 PM

Edited by: Pragathi on Jan 15, 2010 1:41 PM

Edited by: Pragathi on Jan 15, 2010 1:41 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The error was saying that.. the no of fields you are getting in the source are diff from that you have mentioned in FCC.

Can you just copy and paste the source csv file? and the exact XML structure?

Regards,

Swetha.

vijay_b4
Active Contributor
0 Kudos

Hi Swetha,

My input file is: .txt

field1,field2

example: 1,2

Thanks & Regards,

Pragathi.