Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3510

Re: [Kapsel offline odata] - store open issue

$
0
0

Hi Jitendra,

 

I am having issues getting data using the odata calls I am making. Maybe that's the reason I am not able to open the store.

Whenever I try to make a call to the back-end, I get a "502 Bad Gateway Error". The call I am making is a simple odata read call to the following URL:

https://hcpms-p1942021492trial.hanatrial.ondemand.com/com.kapsel.webide/Products


When I use http instead of https I get "302 Found" but the result set is empty. Attaching screenshots for both

Its recommended to use https.

Five.png   Three.PNG


-----------------------------------------------------------------------------------------------------------------------------------------


I have changed my settings on hcpms to rewrite Urls.

 

My scenario is to build an hybrid app using oData offline plugin to store some data on the device and perform operations on the same data in offline mode[read, update, create]. I have selected "SAPUI5 Mobile Kapsel Starter Application" template for the same. Is it really necessary to chose an offline template. can't I change the device configuration and make the app work using the kapsel plugins.

 

Is it mandatory to rewrite URLs on HCPms. It asks for a "Relative path" as soon as I select this option. What is that all about?

 

Also, Please let me know more regarding the specifying of collections to be made available. In case any documentation is present, kindly point me to them.

 

I looked into the trouble shooting section and it mentioned this error might occur if I have given wrong store properties. I checked the values. can't see any difference from the one in the blog. Please check the snapshot:

storeProperties.PNG

I get the serviceRoot value from the project.json file. This is the same id with which the application is created in HCPms cockpit.

appId.PNG

 

Currently I am using the open oData service for testing

 

I am pretty new to all this.will be really grateful for any help.

 

Best Regards,

Deepak


Viewing all articles
Browse latest Browse all 3510

Trending Articles



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