Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/05/2010, 11:13
avatarrr
 
Fecha de Ingreso: febrero-2008
Mensajes: 58
Antigüedad: 16 años, 2 meses
Puntos: 0
Respuesta: Mozilla y el WSDL

No, eso no vale... Gracias =mente


No quiero chequearlo, lo que , por lo que entiendo hace, es una operacion GET, sobre el WSDL, y luego lo guarda en cache.

El funcionamiento a groso modo seria...:

crear una variable xmlHttp mediante esta funcion:

Código:
function() 
{
	try
	{
		if(window.XMLHttpRequest) 
		{
			var req = new XMLHttpRequest();
			// some versions of Moz do not support the readyState property and the onreadystate event so we patch it!
			if(req.readyState == null) 
			{
				req.readyState = 1;
				req.addEventListener("load", 
									function() 
									{
										req.readyState = 4;
										if(typeof req.onreadystatechange == "function")
											req.onreadystatechange();
									},
									false);
			}
			return req;
		}
		if(window.ActiveXObject) 
			return new ActiveXObject(SOAPClient._getXmlHttpProgID());
	}
	catch (ex) {}
	throw new Error("Your browser does not support XmlHttp objects");
}


Y luego xmlHttp.open("GET", url + "?wsdl=", async);


Y ahi nose si es que no coge el WSDL, o no lo guarda... o nidea..