I am trying with it:
var deactivateToolBar = false;
dojo.xhrGet( { //
// The following URL must match that used to test the server.
url: services.service.serviceUrl + "?f=json", // la url del servicio a cargar en el mapa.
handleAs: "json",
timeout: 20000, // Time in milliseconds
// The LOAD function will be called on a successful response.
load: function(response, ioArgs) {
var objList = response;
if (objList&&objList.length>1) {
showMessage("servicio disponible");
}
//return response;
},
// The ERROR function will be called in an error case.
error: function(response, ioArgs) {
//console.error("HTTP status code: ", ioArgs.xhr.status);
//iconToolbar.deactivate();
deactivateToolBar = true;
var msg = "Ocurrio un error cargando un servicio, detalle del error: " + response;
showMessage(msg);
//return response;
}
});
I ordered the customer service a CD with the version 1.6 API.
Thank you.