cancel
Showing results for 
Search instead for 
Did you mean: 

Consume onpremise service from SAP Cloud Portal - error 404

carlos_guerrero5
Discoverer
0 Kudos

Hello experts.

We are developing an html5 app and we need to show esri maps (https://www.esri.com/es-es/arcgis/about-arcgis/overview) that are on premise, we successfully configured SAP Cloud Connector and the Http Destination and the maps works well on webIDE, but the problem comes when the app is deployed in SAP Cloud Platform Portal, the maps just don't load and it shows the error 404(not found), is there any additional configuration to consume onpremise services in Sap Cloud Portal?

Maps in webide.


Maps in portal.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member213660
Participant
0 Kudos

Hi Carlos

It seems that your application has some misonfigurations on the destinations.

Why are you setting Odata and also JCo to the GIS?

Also, if it is an onPremise destination, have you properly configured the SAP Cloud Connector to be able to reach the onpremise system from the SAP Cloud Platform?

Can you paste your piece of code where you are performing the calls to this destinations?

Thanks,

Augusto

former_member213660
Participant
0 Kudos

Hi Carlos

Can you please let me know how did you deploy the application on the portal?

The reason I ask you that is because in the second screen shot you've provided, the url is not matching the usual pattern for portal applications on SAP Cloud Platform.

Thanks,

Augusto

carlos_guerrero5
Discoverer
0 Kudos

Hi Augusto, I just deployed the app in scp and then registered in the portal. Here i'm providing more screens.

The gis destination.

Ref to destinations (the app use two destinations odata backend and gis onpremise maps)

What I realized is that there is a difference in the odata destination request and the gis destination request.

Odata backend request

Gis request

In the second screen, it seems like the request is not following the context ".../sap/fiori/pmpipelinerutinas/...", when I manually add that context it works.

Greetings.