Needed help to access XML data present on a different domain

margiemaroon

New Member
I have a webservice present on a different domain(basically an authentication servlet) and it returns data in XML format, so whenever I try to make an XMLHttpRequest object and call this service I run across of the Access-Control-Allow-Origin problem as this data is present on a different domain. I also tried using JSONP, but as the service returned an XML, this did not work. So do you have any suggestions on what I can do.(like maybe change the MIME type of the returned data in the JSONP call, if thats even possible) Also the worst part is that I cannot change the return type of the service from XML to JSON.Thanks in advance.
 
Back
Top