Quantcast
Channel: SCN : All Content - SAP Process Orchestration
Viewing all articles
Browse latest Browse all 1235

Error while receiving response from Salesforce - REST API

$
0
0

Hi,

 

There is a requirement where i need to consume the REST API of Salesforce and send the data. The asynchronous communication is working perfectly but while getting back the response, i am getting the below error :-

 

 

RuntimeException during appliction Java mapping com/sap/xi/tf/_MessageStatusSFDCResponse_to_MessageStatusSFDCResponse_
Thrown:
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Content is not allowed in prolog.
at com.sap.aii.mappingtool.tf7.Transformer.checkParserException(Transformer.java:205)
at com.sap.aii.mappingtool.tf7.Transformer.start(Transformer.java:159)
at com.sap.aii.mappingtool.tf7.AMappingProgram.transform(AMappingProgram.java:686)
at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:112)
at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60)
at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:87)
at com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:71)
at com.sap.aii.ibrun.sbeans.mapping.MappingAccessBean.executeMappingSteps(MappingAccessBean.java:237)
at com.sap.aii.ibrun.sbeans.mapping.MappingAccessBea

 

 

 

Basically - MessageStatusSFDCResponse_to_MessageStatusSFDCResponse is my response mapping linked at the Operation mapping level.


I am using PO's REST receiver adapter and the Data Format and HTTP Headers tab detail screen shots are attached. Where am I missing out?


Viewing all articles
Browse latest Browse all 1235

Trending Articles



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