Cross-domain requests in Firefox
![]()
I am developing an OpenSocial gadget (JavaScript language) for RQM (Rational Quality Manager) that gets information from DWA (Doors Web Access). The gadget is running on RQM (https://:<host>:9443/) and I want to make request to the DWA (https://<host>:8443/).
As I am using Tomcat I followed the steps described in https://jazz.net/forum/questions/151485/does-rtc-support-cors-cross-origin-resource-needed-for-a-javascript-oslc-consumer to configure CORS but still the same error appears. I checked the request/response headers in both Firefox (using RestClient) and Chrome (using Advanced Rest Client Application) but I canĀ“t see "Access-Control-Allow-Origin" response header. In the case of Chrome, I found an extension named 'Allow-Control-Allow-Origin' and if I enable it, I see Access-Control-Allow-Origin header. I need to run the gadget in Firefox so, is there an equivalent extension for Firefox? Or how can I avoid using these extensions?
Thanks in advance,
|
One answer
![]() Hello Leire, As you may know, the issue that you are running into appears to be browser or webserver related. Since you have already attempted the steps on the webserver side, the setting may need to be done on the browser side. I was able to find a technote that has some additional information that could help: http://www-01.ibm.com/support/docview.wss?uid=swg21698830 The technote also contains a link to http://enable-cors.org/index.html |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.