on 02-29-2016 7:45 PM
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 :-
|
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?
Hi Diptendu
Content not allowed in prolog error is indicative that the content is not in XML format as expected.
You have selected the response format as XML. Maybe the response is also in JSON format. Did you try this using an external tool like Postman or Chrome's Advanced REST client?
You can also add logging (using MessageLoggerBean) at the receiver channel to log the content of the payload for the response to see what you are actually receiving. With this, it will help you design your interface accordingly.
Regards
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.