cancel
Showing results for 
Search instead for 
Did you mean: 

File content conversion Error

Former Member
0 Kudos

Hi Every one

I am trying to send csv file from ftp using File Content Conversion. The File is not being picked up from the FTP.

The Communication Channel Gives the Following Error.

Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'Emp.fieldFixedLengths' or 'Emp.fieldSeparator' is missing Consistency check: no. of arguments in 'Emp.fieldFixedLength' does not match 'Emp.fieldNames' (0 <> 6)

I have the following Configuration in Data Type

DT_EMPLOYEE_OB

EmployeeList

EmpCode

Name

Surname

Dept

Location

Mob

My Settings in the Communication Channel is as follows

Document Name : DT_EMPLOYEE_OB

Document Namespace: http://xxxx

Recordset Name: EmployeeList

Recordset Structure: Emp,*

Emp.filedSeperator : ,

Emp.endSeperator: 'nl'

Emp.fieldNames : EmpCode,Name,Surname,Dept,Location,Mob

All the answers will be appreciated.

Thanks

Zia ur Rahman

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Emp.filedSeperator : ,

Emp.endSeperator: 'nl'

Emp.fieldNames : EmpCode,Name,Surname,Dept,Location,Mob

Probably you just have a typo, instead of filedSeperator and endSeperator, use fieldSeparator and endSeparator.

Hope this helps,

Mark

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for your suggestion

Former Member
0 Kudos

Hi Rehman,

What Mark said is absolutely correct, there is a typo mistake in your configuration.

Use Emp.endSeparator and Emp.fieldSeparator.

You would be able to resolve the issue.

Thanks,

Former Member
0 Kudos

Thanks

Ya it was a typing mistake. It worked....

Thanks a lot...

former_member463616
Contributor
0 Kudos

Hi,

You have to crate data type like this:

DT_EMPLOYEE_OB

--->EmployeeList

-


>Emp

-


>EmpCode

-


>Name

-


>Surname

-


>Dept

-


>Location

-


>Mob

Hope this helps to you.

Regards,

P.Rajesh