on 04-05-2017 9:41 PM
Hi All ,
When I am trying to launch my custom UI5 application which performs a read operation to backend system via Chrome browser , I am not able to get the data because the call to meta data service fails :
Mixed Content: The page at 'https://xxx.xxx/fiori?sap-client=100&sap-language=EN&sap-sec_session_created=X#ZDEMOCSEM-display' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://xxxxxxsap/opu/odata/sap/ZDEMO1_SRV/$metadata'. This request has been blocked; the content must be served over HTTPS.
Please suggest what can be done that the call to metadata uses HTTPS instead of HTTP.
The application works fine in IE browser.
Thanks and Regards
Vivek
Hi All,
I am having the same issue any help is appreciated/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vivekpandey84,
Have you got solution for this issue?
If yes, please provide the solution.
Thanks,
Janani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
your code........
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
onInit: function()
{
var sServiceUrl = "https:/XXXX/sap/opu/odata/sap/ZDEMO1_SRV";
var oModel = new sap.ui.model.odata.ODataModel(sServiceUrl,true);
var oJsonModel = new sap.ui.model.json.JSONModel(); oModel.read("CustomerSet?",null,null,true,function(oData,repsonse){ oJsonModel.setData(oData); }); sap.ui.getCore().setModel(oJsonModel);
},
change server side settings to use HTTPS protocol for the FIORI application
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.