i am getting XMLHttpRequest cannot load



i am getting XMLHttpRequest cannot load.so how to remove this error ,please any suggetion for that.i am getting XMLHttpRequest cannot load.so how to remove this error ,please any suggetion for that. i am getting XMLHttpRequest cannot load.so how to remove this error ,please any suggetion for that. i am getting XMLHttpRequest cannot load.so how to remove this error ,please any suggetion for that.



function soapRCA(){
var productServiceUrl = "http://ift.tt/1LCLm6O ws/services/secure/coperturaRC";
var tipoDiVettura = $('#tipoVeicolo').val();
var targaperRCA = $('#targaRCA').val();

var SoaMessage = '<soapenv:Envelope xmlns:soapenv="http://ift.tt/sVJIaE" xmlns:xsd="http://ift.tt/tphNwY" xmlns:xsi="http://ift.tt/ra1lAU">'+
'<soapenv:Header>'+
'<wsse:Security soapenv:mustUnderstand="0" soapenv:actor="http://ift.tt/1sBaVwY" xmlns:wsse="http://ift.tt/LRW8Ij">'+
'<wsse:UsernameToken wsu:Id="XWSSGID-1253605895203984534550" xmlns:wsu="http://ift.tt/Hm2joJ">'+
'<wsse:Username>paolo.pelliccione</wsse:Username>'+
'<wsse:Password Type="http://ift.tt/1aTA7XU">tdlemon900mj</wsse:Password>'+
'</wsse:UsernameToken>'+
'</wsse:Security>'+
'</soapenv:Header>'+
'<soapenv:Body>'+
'<CoperturaRCVeicoloSecureRequest xmlns="http://ift.tt/1BbPTfd">'+
'<tipoVeicolo>'+tipoDiVettura+'</tipoVeicolo>'+
'<targa>'+targaperRCA+'</targa>'+
'</CoperturaRCVeicoloSecureRequest>'+
'</soapenv:Body>'+
'</soapenv:Envelope>';

$.ajax({
url: productServiceUrl,
type: "GET",
dataType: "xml",
data: SoaMessage,
complete: showResult2,
contentType: "text/xml; charset=\"utf-8\"",
crossDomain: true,
cache: false
});

return false;
}

function showResult2(xmlHttpRequest, status) {
//alert('edew00');
var data = $(xmlHttpRequest.responseXML).find('#listMovimenti tbody');


console.log(data);



//alert('ecco data: '+JSON.stringify(data));

/*var data = (''+response).substring((''+response).indexOf('<form id="ListaCoperturaRCVeicolo"'),(''+response).length);
data = data.substring(0,data.indexOf('</form>'));
$('#targapage #fintoiframe').html(data);

var ris = $('#targapage #fintoiframe').find('#ListaCoperturaRCVeicolo').html();
$('#targapage #risultatorcaEsterna').html(ris); */


}



</script>

No comments:

Post a Comment