cancel
Showing results for 
Search instead for 
Did you mean: 

Webservices and CORS

AndrzejKaczor
Level 4
Hello,   i am in the process of building a Robot that will be working on items that will be supplied by users through webservices. I've imagined it so, that on my company sharepoint will be built a simple sharepoint form that on click from user will send a request.   i have prepared a simple locla html page with javascript, that sends the request and it works great in internet explorer.   I've tried to run it in google chrome, but I am getting errors:   net::ERR_INVALID_HTTP_RESPONSE   soap.html:40 XHR failed loading: [IP]:8181/ws/WSTest   I googled around and it looks like google chrome is explicitly forbidding a cross domain soap requests. Some people in the internet are saying that the server needs to have a settings called CORS enabled.   Please see attached a code that I have developed that works for my requests.   Would you be so kind to: tell me if the server has CORS enabled? Present a working, browser independent javascript code for cross domain soap requests?
0 REPLIES 0