Skip to Content
avatar image
Former Member

Backend Odata Service not responding in Hybrid Application deployed to SAP Mobile Secure

Hi Experts,

I have developed a UI5 application in SAP Web IDE and converted it into Hybrid application using SAP HAT plugin, then using the cordova build I have generated apk for the same and deployed it on SAP Mobile Secure as an enterprise application.

I can see the application in my device and am able to download and install it, when I run the application the UI is working as expected but it seems the OData service is not able to get the required data.

When I Debug the application I get the required URL but then the busy indicator is up and keeps waiting but no data is fetched.

For your information it is running perfectly on WebIDE.

Please help and suggest what am I missing here.

Thanks,

Warm Regards

Hardik Bhardwaj

issueandroid.jpg (173.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 19, 2017 at 11:40 AM

    Hi Jamie,

    The issue is now resolved, it was an issue with the OData URI and CSRF token validation. The app is up on enterprise store and running perfectly.

    Thanks a lot for your help.

    Warm Regards

    Hardik Bhardwaj

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 07, 2017 at 02:13 PM

    Looks like the app is trying to use a url on your cloud platform account. This is possible, but the app has to be first deployed on the cloud platform with the authentication method set to none. The url to the service would be something like

    https:// - . dispatcher.hanatrial.ondemand.com/ path>

    so you most likely need to alter the path in the app for running it on a mobile device. Otherwise maybe you want to look into using the mobile services development and operations service.

    Regards,

    Jamie

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 19, 2017 at 11:40 AM

    Hi Jamie,

    The issue is now resolved, it was an issue with the OData URI and CSRF token validation. The app is up on enterprise store and running perfectly.

    Thanks a lot for your help.

    Warm Regards

    Hardik Bhardwaj

    Add comment
    10|10000 characters needed characters exceeded