Ver Mensaje Individual
  #58 (permalink)  
Antiguo 22/07/2006, 18:42
Avatar de reel
reel
 
Fecha de Ingreso: febrero-2004
Ubicación: Managua, Nicaragua
Mensajes: 496
Antigüedad: 20 años, 3 meses
Puntos: 1
Pregunta Error Http 405

Hola,

Me puse a rastrear la causa con más detenimiento y encontré que estoy obteniendo el error HTTP 405 cuando ejecuto el código:

Código:
function readxml() {
	if (typeof XMLHttpRequest != 'undefined')
		objAjax = new XMLHttpRequest();
	else
		objAjax = (Number(navigator.appVersion.substr(0,3)) >= 5) ? new ActiveXObject('Msxml2.XMLHTTP') : new ActiveXObject('Microsoft.XMLHTTP');

	objAjax.open('GET', 'myxml.xml', true);
	objAjax.onreadystatechange = getinfo
	objAjax.send('myxml.xml');
}
Con la ayuda del codigo más abajo me di cuenta que estaba el web server me está respondiendo con el error antes mencionado.

Código:
document.getElementById("mydiv").innerHTML = objAjax.responseText
Estoy utilizando el IIS de XP, con IExplorer 6 por me dio cel cual mando a llamar el url http://localhost/temp/tables.html.

Alguna idea de porque no logro obtener el archivo xml?
__________________
Leer es Saber, REEL.
Mi Blog