on 02-01-2015 9:06 AM
Dear All
I have created a ODATA service and activated.
Can you help me to set the
Access-Control-Allow-Orgin Parameter : "*" in the request Header method of the service.
In which method, i should implement and how to. Kindly help me
The reason is The service is blocked it from any http://localhost....
Regards,
Venkat
the error that you gave is not because of your odata. It is a security policy that all modern browser does. For testing purpose you can open your chrome disable web security as below link describe, http://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ekansh
I created the project ZGL2 -
A service implemented GLListSet - mapped to a RFC function that returns list of GLs from SKAT table.
There is class created as below : ZCL_ZGL2_DPC_EXT
Inside that the method created as GLLISTSET_GET_ENTITYSET
Do I need to put my header value in this method ?
I attach the screenshot
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.