We have been banging our heads on this one and would really appreciate some help.
We are hosting a remote Web Application that we are pointing to via the Rhoelement Config file.
This Web App then calls aSOAP webservice via Ajax. The Webservice (Hosted in Jboss) is located on the same machine as the web page invoking it. We constantly are served up with a Status Code of 0.
We have been thinking that this could potentially be a Cross Site Scripting issue, but this would be surprising due to the fact that the domains are the same. We tried the example where we accessed a the getTime.php, and set the
Access-Control-Allow-Origin: * flag. However this worked regardless of wether this was set further enforcing our view that it cannot be a Cross Site Scripting issue, but it has left us not knowing what to try next.
We have been able to successfully access the web service when executing the html page via Firefox, however we also get the Status Code of 0 on Chrome.
A last question regardiing, Access-Control-Allow-Origin: *, if we wanted to enable this for a JBOSS server, how would you go about doing this?