cancel
Showing results for 
Search instead for 
Did you mean: 

FTP to Proxy raw data through PI

Former Member
0 Kudos

I have a requirement where we need to pick the file (raw data) from FTP and send it to Inbound proxy through PI as it is .

At PI I have created ESR objects(DT,MT,SI,MM,OM)

Created structure as

Test

<Record>

At File sender channel:  I used  message protocol as file instead of FCC.

I see an error at mapping level as org.xml.sax.SAXParseException: Content is not allowed in prolog.

Because of root node not being passed .

Could someone suggest how to handle that root node ?

Thanks & Regards,

Manasa

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182412
Active Contributor
0 Kudos

Hi Manasa,

If it is text file you can use below FCC then you will get all the lines and in the mapping you can join all the lines and send it to proxy.

Row.fieldNamesLine
Row.fieldSeparator'nl'
ignoreRecordsetNametrue

Regards,

Praveen.

iaki_vila
Active Contributor
0 Kudos

Hi Manasa,

AFAIK that error could be throwed if the message mapping has a source payload without XML structure. You can try to deal with the file with java mapping.

Regards.

former_member182412
Active Contributor
0 Kudos

Hi Manasa,

Remove the software component like below.

Regards,

Praveen.