Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3441

Mystery case : SAXParseException: Content is not allowed in prolog.

$
0
0

Hello All,

 

We are on single stack PI 7.4,  i have a scenario proxy to mail adapter. The mail adapter is failing with below error.

 

Consider after the error, if i resend the message from RWB the message goes in success. If I test the payload from  PI test then it goes in success but when I trigger from SAP proxy it is ending with below error.

 

 

Transmitting the message to endpoint <local> using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint  [null "null"]; nested exception caused by: com.sap.aii.af.sdk.xi.util.XMLScanException: Cant parse the document; nested exception caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.



1) There is a suggestion given by Shabarish and Li, tried them where they suggested to remove the SWCV in the sender agreement.  As we are on ICO we removed the SWCV ,  tried this approach but did not help. The Mystery of 'Content is not allowed in prolog'

 

2) Also tried to test with SI   stateless XI 3.0  as suggested by Li but still no luck

 

 

This scenario is  XML data from proxy to be passed as text file as an attachment and sent  in the email. The email with text file attachment is working correctly when I pass the test data va RWB. The payload is same picked from MONI of ECC.

 

 

Any  suggestion is much appreciated. Thanks in advance.

 

 

Regards,

Harsha


Viewing all articles
Browse latest Browse all 3441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>