This is the piece of jQuery that's not working for me :
$.ajax({
crossDomain: true,
type: "POST",
url: "https://www.testdatasolutions.com/reportgw",
data: "ACCOUNT=creditreport123&PASSWD=asdj97sdf&PASS=2&PROCESS=PCCREDIT&NAME=Robert+Ice&SSN=891-42-3221&ADDRESS=111+W+8th+St&CITY=Fantasy+Island&STATE=IL&ZIP=60750&BUREAU=TU&PRODUCT=CREDIT&DEFAULTOUTPUT=XML"
})
.done(function( msg ) {
alert( "Data Saved: " + msg );
});
The output error says:
XMLHttpRequest cannot load https://www.testdatasolutions.com/reportgw. Origin http://pmr.techforge.us is not allowed by Access-Control-Allow-Origin.
A similar topic can be found here, but it covers only the cases where output is in JSON.
So my question is, is it possible to handle cross domain ajax requests returning XML, or must I absolutely use JSONP?