on 12-22-2015 1:07 PM
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
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.fieldNames | Line |
Row.fieldSeparator | 'nl' |
ignoreRecordsetName | true |
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.