Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Error in SAPUi5 Mobile Application using gateway service

$
0
0

Hi,

 

     I have developed one mobile application using  public gateway service which was given by SAPUI5 demo kit.

 

           http://services.odata.org/Northwind/Northwind.svc/

 

When I am using this service I can get the products list in mobile.

 

In the same way I developed another application using gateway services which was given by SAP like flight information, Currency list.

 

My service Url is  http://192.168.1.25:8000/sap/opu/odata/sap/FLIGHTINFORMATION_77/

 

By  using this URL I am trying to get the Flight List . But I am getting error like HTTP Request failed0,, - at file :///android_asset/www/resources/sap-ui-core.js file .

 

I assume that it's a path problem . I copied the resource folder of SAPUI5 in www folder and I mentioned the path in index.html file like below

 

<script src="resources/sap-ui-core.js" id="sap-ui-bootstrap"

          data-sap-ui-libs="sap.m" data-sap-ui-theme="sap_mvi"

          data-sap-ui-xx-test-mobile="true" data-sap-ui-xx-fakeOS="iphone">

  </script>

 

I don't know where I have done mistake.

 

Please help me to solve that issue.

 

Thanks&Regards

Sridevi



Viewing all articles
Browse latest Browse all 6178

Trending Articles



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