Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 08, 2010 at 09:12 AM

    Hi

    Please enter the value as

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

    Regards

    Naina

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 08, 2010 at 10:38 AM

    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

    Add comment
    10|10000 characters needed characters exceeded