Closed ghost closed 10 years ago
first guess you are trying to do a cross-server request which is not allowed due to same-origin-policy...
read: https://github.com/doedje/jquery.soap#same-origin-policy
Let me know when you are sure this is not the case.
And how to use CORS with the plugin?
It is something you setup on the server hosting your site and on the server hosting the webservice. Settings this up is not done in javascript or in jquery.soap. Google it. =]
OPTIONS [...] 415 (Unsupported Media Type) jquery-2.0.3.js:7845 OPTIONS [...] No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. jquery-2.0.3.js:7845 XMLHttpRequest cannot load [...]. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Please help