Quantcast
Channel: SCN : All Content - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6745

CORS issue while calling HANA XSODATA services

$
0
0

Hi All,

 

My UI5 application is fetching data from HANA using XSOData and XSJS services. I have enabled CORS and created one anonymous connection using xssqlcc in my HANA package but was receiving the error "Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource" while calling the OData services.

 

I have successfully executed the xsjs services and the issue is only with XSOData services.

 

Also please note that, I am executing the SAPUI5 application from my local machine and my objective is to run the application without disabling the Web-security in chrome browser. 

                                                                                                                                                    

HANA server settings


 

 


Viewing all articles
Browse latest Browse all 6745

Trending Articles



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