How to read XML files from FTP Adapter which have hidden junk characters from OSB
PRODUCT USED: Oracle Service Bus 12.1.3.0
We have a scenario where we need to poll xml files from a sftp folder location. We created the FTP adapter and associated Proxy Service. While polling the file, we get following error in our logs :
Error while translating inbound file : ProcurementChain_NO98466118506_3efc089a-0d6b-4821-a5fb-5b50659c1992.xml[[
ORABPEL-11211
DOM Parsing Exception in translator.
DOM parsing exception in inbound XSD translator while parsing InputStream.
Please make sure that the xml data is valid.
at oracle.tip.pc.services.translation.xlators.xsd.XSDTranslator.translateFromNative(XSDTranslator.java:301)
at oracle.tip.adapter.file.inbound.InboundSyncTranslatorDelegate.xlate(InboundSyncTranslatorDelegate.java:316)