Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Return Messages to SAP UI5 using XSODATA Services

$
0
0

The problem is, that your response is in XML. You can either parse XML using an XML parser (e.g. https://api.jquery.com/jQuery.parseXML/) or change your OData service payload to JSON (which is the most common usage). To change the payload to JSON, the JSON parameter has to be set to true when the ODataModel is created (e.g. var oODataModel = new sap.ui.model.odata.ODataModel(".../.../test.xsodata",{json: true});).


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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