@Mayank_Gandhi After checking the network logs, the response received from the document server to the AEM server is that the content type is text/html, probabily this is why prolog error is coming.Not sure if the document server is expecting content type as text/xml but it is getting text/html from...