cancel
Showing results for 
Search instead for 
Did you mean: 

XML File to Flat File scenario: Reciver file adaptor content conversion

Former Member
0 Kudos

Hello Friends,

Currently I am working on XML File to Flat File Scenario.

I used receiver side File adaptor with content conversion.

My receiver side adaptor is giving error. Error is given below.

Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '.fieldFixedLengths' or '.fieldSeparator' is missing

My content conversion parameters are as:

row.fieldNames Customer_ID,Name,Address,Phone

row.fieldSeparator ,

row.processConfiguration FromConfiguration

row.endSeparator 'nl'

Can you please suggest me what kind of error is this?

Regards,

Narendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Please enter the value as

row.fieldFixedLengths .... 1,5 3 whatever fixed length is there for Customer_ID,Name,Address,Phone

Regards

Naina

Former Member
0 Kudos

Still I am facing below given issue.

2010-06-08 15:34:25 Error File adapter receiver channel CC_Customer_FlatFile_Distination is not initialized. Unable to proceed: null

2010-06-08 15:34:25 Error Exception caught by adapter framework: Channel has not been correctly initialized and cannot process messages

former_member10771
Active Participant
0 Kudos

Hi,

Not very sure but just check if your file adapter has been activated properly.Also check the parameters you have entered under Recordset Structure .

Answers (1)

Answers (1)

former_member223322
Active Participant
0 Kudos

Just check if there is any space after the row.fixedFieldLengths and row.fieldSeparator. Because sometimes due to manual error we may enter a space after the parameters, which might also cause this problem.

~Vaas

Former Member
0 Kudos

Can you please guide me what we have to pass in Recordset Structure

Former Member
0 Kudos

Hi,

Recordset Structure defines the name and occurrence of each sub-node in Recordset Structure.

Abid

Former Member
0 Kudos

Can you plz suggest me what type of name & occurence we have to define here?

Former Member
0 Kudos

This would help you:

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Abid