Skip to Content
0
Former Member
Dec 11, 2006 at 12:54 PM

Sender File Adapter Querry...!

32 Views

hi

I am doing a File to File scenario.

In XI my Source structure is say,

MT_Source

-


Recordset

-


Field1 (0-1)

-


Field2 (0-1)

-


Field3(0-1)

-


VarField (0-Unbounded)

Now my souce CSV file is something like this.

Field1,Field2,Fiel3,Varfield,Varfield,Varfield.

<b>(Note the occurence of the "Varfield" ,its occurence is indefinete, it may be 1 or 2 or 3)</b>

My mapping works fine when i duplicate the Varfield in the test tab,

However when i run the scenario i get the following error in Communication Channel monitoring for my Sender Adapter.

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

Could anybody tell me how could i manage such situation... would be very thankfull. I want my Dource structure to be dynamic wrt to my csv file,...is this possible.....!!