cancel
Showing results for 
Search instead for 
Did you mean: 

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

former_member383720
Participant
0 Kudos

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);

Accepted Solutions (0)

Answers (1)

Answers (1)

architectSAP
Active Contributor
0 Kudos

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

former_member383720
Participant
0 Kudos

Hi Frank,

Thanks for suggesting cause of error.

Can you provide snippet for its solution.

Thanks,

architectSAP
Active Contributor
0 Kudos

Hello Ankit,

Please refer to Using Destination Certificates.

Best regards

Frank

Kevin_SAP
Advisor
Advisor
0 Kudos

You can also use ES5 as the old system will be retired at the end of the year.

-kevin