on 12-25-2009 10:59 AM
Hi Experts,
I am using file adapter to pick XML file. Using TEXT mode & encoding "ISO-8859-1" as it has some special characters.
But when file is picked by PI in moni XML payload contain some garbage characters at the begining of the XML declaration.
This characters is making file as invalid.
But if I open the origional file then it is not showing the characters.
Could u please help me how to remove this garbage characters frm XML file beginning.
Thanks in advance.
I am using file adapter to pick XML file. Using TEXT mode & encoding "ISO-8859-1" as it has some special characters.
This characters is making file as invalid.
Check this SAP Note: https://service.sap.com/sap/support/notes/821267
From the above SAP Note:
16. File Encoding
XML Files
Important: Even if you configure a File Encoding in the File Adapter channel, the File Adapter will not
-write the XML header to reflect the changed encoding, so you will probably see an XML parsing error later
during the processing of the message if you specify an encoding.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are these garbage chars only at the beginning of the received file (what are they exactly, in hex or ascii form ?) ? How is the source file generated ?
Rgds
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.