Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3510

Re: Can Design Studio connect via SOAP or OData?

$
0
0

Hi Karol,

I am trying to access a OData service (HANA) using the 'PostResponseParser' component and I have been getting the following error:

 

XMLHttpRequest cannot load http://myhost:8000/xxxx/xxxxx/xxxxx.xsodata/xxxx. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://myIP:55555' is therefore not allowed access.


And this is how I have defined .xsaccess file (I dont have access to XSADMIN rights on HANA).


{

     "exposed" : true, 

     "authentication" : {"method": "basic"},

     "cors":{"enabled":true, "allowMethods":["GET","POST","HEAD","OPTIONS"],"allowOrigin": ["*"],

    "allowHeaders": [

            "Accept",

            "Authorization",

            "Content-Type",

            "X-CSRF-Token"

        ],

        "exposeHeaders": [

            "x-csrf-token"

        ] }

}

 

What settings do I tweak to make it work?


Viewing all articles
Browse latest Browse all 3510


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