Hi,
I am performing Rest merge for Word document and is getting the following exception while using Words cloud API. The response in fact contain Junk characters.
PMsAXException Exception : org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) ~[xercesImpl-2.8.1.jar:na]
Enclosing initial few characters of the response -
ÿþ< S a a S p o s e R e s p…
The spaces are actually \0 character. When we removed all \0 chars and ÿþ, things started working.
It is strange that this started happening just today.
We also tried with json format as output parameter and there was valid json returned. So it looks like the issue is only with xml format.
Has anything changed at your end? THis is second time (the same API few months back switched from xml to json format in spite of API parameter requesting xml format. Related issue - ) something has broken on your side without any prior updates. Our production system is actively using your APIs and is under risk now. Please respond ASAP with what is the ETA on resolving this.
Many Thanks,
This message was posted using Email2Forum by Mudassir Fayyaz