on 07-01-2015 11:08 AM
Hi ,
I am doing an Odata Update request to the integration gateway , it fails with “400 Bad request” error and the message displayed is “Bad request payload or mapping error”.
I am doing the "o..AppModel.update("/********....('"+customerId+"')",xmlPayload,..) to trigger the Odata PUT request.
With the same payload of the above request the PUT operation succeeds in Advanced REST client and it updates the record. But when the same payload is sent through SAPUI5 OData.Update request it fails.
When I checked the SMP gateway logs I found that I get the same Stack Trace as as this thread http://scn.sap.com/thread/3721594
"org.apache.olingo.odata2.api.ep.EntityProviderException:An exception of type 'XMLStreamException' occured"
How the same payload works in REST client works great but not in Odata.Update ? , any additional settings is required ? what is the format of data I should send ? I tried with XMLString , XMLDoc but it dint work.
Please assist.
Thanks
Arun
hi,
please try check in preview/response from your browser and let us know what exact error it is...
Thanks
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.