Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

Error in connecting OData Service

$
0
0

I had made SAPUI5 app which works absolutely fine on browser . Now using phoneGap Build I converted the UI5 application to .apk so that UI5 application can be used as native app on Android device . Now when I installed the .apk on the Android device it gets installed successfully and it the firstpage of the app opens . Now on the first page user needs to add certain details . After adding those details on user needs to press submit button which would make call to OData Service but at that point when I run this app on Android device it shows following error :-

 

error_odata.PNG

and the code where its showing error is shown below:-

 

oModel.read("http://hilsaps02bt.global.enterprise:8000/sap/opu/odata/sap/Z_PASSWORD_RESET_DEMO_SRV_SRV/z_es_pwd_reset_screen1?$filter=Username eq '"+Username+"' and Systemid eq '"+Systemid+"' and Clientno eq '"+Clientno+"'", null, null,true,fsuccess);


and oModel has been defined as shown below:-


Odtaa.PNG


Below shown is the screenshot of my config.xml :-


config.PNG


Viewing all articles
Browse latest Browse all 3323

Latest Images

Trending Articles



Latest Images

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