Skip to Content
0

Unable to use Northwind Service on FIORI Launchpad (using Gateway)

Mar 21, 2017 at 01:39 PM

151

avatar image

Hi,

I have developed a UI5 application in WebIDE, where I have hard-coded Northwind Service in controller as follows-

When I deployed this application on Gateway and running it on FIORI Launchpad, then following error is thrown:

Although, SICF service is running fine with this code

Kindly Let me know solution for this.

var URL = "https://services.odata.org/V4/Northwind/Northwind.svc/Products";
var oModel = new sap.ui.model.json.JSONModel(URL);

this.getView().setModel(oModel);
error.png (17.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Frank Schuler
Mar 22, 2017 at 11:51 AM
0

Hello Ankit,

I think the issue is that you are using HTTPS and at least in my browser the presented SSL certificate is not trusted. You would have to handle this in your code.

Best regards

Frank

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Frank,

Thanks for suggesting cause of error.

Can you provide snippet for its solution.

Thanks,

0

Hello Ankit,

Please refer to Using Destination Certificates.

Best regards

Frank

0