cancel
Showing results for 
Search instead for 
Did you mean: 

CORS issue related to XSODATA service

0 Kudos

Hi All,

We are stuck with the CORS issue.

The requirement is to consume XSODATA service inside a SAPUI5 app & both of these are in two separate systems. We are getting the attached error error.jpg

.By going through the existing posts on the SCN i tried few options:

- Maintained the attached config in .xsaccess file xsaccess-config.png

- Maintained this config in XSADMIN: xsadmin-cors.png & xsadmin-auth.png

In the ODataModel initialization, i am also passing the username & password(for the time being to test if that works), but it didnt work.

I also tried maintaining the exposed headers in the XSADMIN but due to some bug or some other reason, the ADD button for that dialog is not working for any value at all.

We are using HANA SPS12.

Request pointers to resolve this at the earliest. TIA.

Thanks & Regards,

Sumit Jindal

0 Kudos

Hello Everyone,

Any pointers please?

TIA,

Sumit Jindal

0 Kudos

I am also facing a similar issue. Did you manage to solve it?

Thanks in advance.

Vijay.

Accepted Solutions (0)

Answers (0)