Alguien me puede ayudar. A continuación pongo el codigo que me da error por si sirve de ayuda, gracias.
Cita:
function getSoapRequest (formNode) {
var params = null; //new Array();
var vUrl = '<%= postURL %>';
var vHandleAs = 'xml';
var vTimeout = 5000;
var vForm = formNode;
var vContent = null; //params;
var vHandle = function(response, ioArgs){
if(response instanceof Error){
if(response.dojoType == "cancel"){
console.log("Request canceled.");
}else if(response.dojoType == "timeout"){
console.log("Request timed out.");
}else{
console.error(response);
}
}else{
console.log("Successful server response: " + response);
console.log("HTTP status code: ", ioArgs.xhr);
console.log(response);
dojo.byId("SOAPResponse").value=response.firstChil d.textContent;
}
return response;
}
var deferred = proccesing_xhrPost (vUrl,vHandleAs,vTimeout,vForm,vContent,vHandle);
}
var params = null; //new Array();
var vUrl = '<%= postURL %>';
var vHandleAs = 'xml';
var vTimeout = 5000;
var vForm = formNode;
var vContent = null; //params;
var vHandle = function(response, ioArgs){
if(response instanceof Error){
if(response.dojoType == "cancel"){
console.log("Request canceled.");
}else if(response.dojoType == "timeout"){
console.log("Request timed out.");
}else{
console.error(response);
}
}else{
console.log("Successful server response: " + response);
console.log("HTTP status code: ", ioArgs.xhr);
console.log(response);
dojo.byId("SOAPResponse").value=response.firstChil d.textContent;
}
return response;
}
var deferred = proccesing_xhrPost (vUrl,vHandleAs,vTimeout,vForm,vContent,vHandle);
}