I have a Web service URL on request it will return an XML response. When i directly post the URL in the browser i am getting the response. But when i do an AJAX call it fails.
Chrome Error: Origin null is not allowed by Access-Control-Allow-Origin.
Firefox Error: XML Parsing Error: no element found Location: moz-nullprincipal:{e0bbb28b-e8ae-4b43-a266-428a24f9278d} Line Number 1, Column 1.
All the params like username,password query string are passed in the webservice URL.
Apologies: I cannot post the code and the URL.
Any help is greatly appreciated.