Hi Experts,
I am trying to get an XML file from a website for exchange rates using sender Axis Adapter. I have developed my scenario via Michal's PI tips: Exchange Rates from an XML file on a web page - REST, AXIS.
In payload i have XML declarations, which causes an exception as " <faultstring>org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.</faultstring> ".
When i remove those XML declarations in SOAPUI and send the payload, it works successfully. But since i am getting the XML document from a Website, i cannot remove them from payload till it reaches to sender communication channel, I also have tried XMLAnonmyizerBean. Is there any module in communication channel or anyway i can do to remove those declarations?
Note: I can see the same exception when communication channel gets payload from website via Alert Configuration.
Thanks.