Hi everyone, here is my question : I defined a webservice using SQL Anywhere embed webservices utility. There it is :
and here is the procedure called :
I need to call this service from another domain (that's a simple try) on my dedicated server. Everything seems to be okay (the header should allow me to make my ajax call from the server). But it looks like it doesn't allow cross domain requests. I need to treat it as a JSONP request to get the request to work (I get the json I need) but SQL Anywhere doesn't work with JSONP and it's callback function behavior, so data are unreachable. Does someone knows how to allow cross domain request ? Thanks all for your answers ! |
Check out this discussion of Access-Control-Allow-Origin.
How to solve the problem of access control allow origin? I'm also bothered by this problem
Check the comment from above.