<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Webservices and CORS in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Webservices-and-CORS/m-p/88638#M39154</link>
    <description>Hello,

&amp;nbsp;

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.

&amp;nbsp;

i have prepared a simple locla html page with javascript, that sends the request and it works great in internet explorer.

&amp;nbsp;

I've tried to run it in google chrome, but I am getting errors:

&amp;nbsp;

net::ERR_INVALID_HTTP_RESPONSE

&amp;nbsp;

soap.html:40 XHR failed loading: [IP]:8181/ws/WSTest

&amp;nbsp;

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.

&amp;nbsp;

Please see attached a code that I have developed that works for my requests.

&amp;nbsp;

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?</description>
    <pubDate>Tue, 06 Feb 2018 18:48:00 GMT</pubDate>
    <dc:creator>AndrzejKaczor</dc:creator>
    <dc:date>2018-02-06T18:48:00Z</dc:date>
    <item>
      <title>Webservices and CORS</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Webservices-and-CORS/m-p/88638#M39154</link>
      <description>Hello,

&amp;nbsp;

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.

&amp;nbsp;

i have prepared a simple locla html page with javascript, that sends the request and it works great in internet explorer.

&amp;nbsp;

I've tried to run it in google chrome, but I am getting errors:

&amp;nbsp;

net::ERR_INVALID_HTTP_RESPONSE

&amp;nbsp;

soap.html:40 XHR failed loading: [IP]:8181/ws/WSTest

&amp;nbsp;

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.

&amp;nbsp;

Please see attached a code that I have developed that works for my requests.

&amp;nbsp;

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?</description>
      <pubDate>Tue, 06 Feb 2018 18:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Webservices-and-CORS/m-p/88638#M39154</guid>
      <dc:creator>AndrzejKaczor</dc:creator>
      <dc:date>2018-02-06T18:48:00Z</dc:date>
    </item>
  </channel>
</rss>

