You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use this lib on our app and it works perfect on chrome and IE, but cannot get firefox to load the wsdl. Have tried debugging thru it and cannot find what is causing the problem in FF. It gets to the following lines and the wsdl variable is null:
SOAPClient._sendSoapRequest = function (url, method, parameters, async, callback, wsdl)
{
// get namespace
var ns = (wsdl.documentElement.attributes["targetNamespace"] + "" == "undefined") ?
It appears to be related to the _loadWsdl function where the xmlHttp.readyState always comes back as 1 instead of the 4 the following is looking for:
SOAPClient._loadWsdl = function (url, method, parameters, async, callback)
{
// load from cache?
var wsdl = SOAPClient_cacheWsdl[url];
if (wsdl + "" != "" && wsdl + "" != "undefined")
{
return SOAPClient._sendSoapRequest(url, method, parameters, async, callback, wsdl);
}
// get wsdl
var xmlHttp = SOAPClient._getXmlHttp();
xmlHttp.open("GET", url + "?wsdl", async);
if (async)
{
xmlHttp.onreadystatechange = function ()
{
if (xmlHttp.readyState == 4)
{
SOAPClient._onLoadWsdl(url, method, parameters, async, callback, xmlHttp);
}
}
}
xmlHttp.send(null);
if (!async)
{
return SOAPClient._onLoadWsdl(url, method, parameters, async, callback, xmlHttp);
}
};
Any thoughts or ideas would be greatly appreciated.
Ed
The text was updated successfully, but these errors were encountered:
We use this lib on our app and it works perfect on chrome and IE, but cannot get firefox to load the wsdl. Have tried debugging thru it and cannot find what is causing the problem in FF. It gets to the following lines and the wsdl variable is null:
SOAPClient._sendSoapRequest = function (url, method, parameters, async, callback, wsdl)
{
// get namespace
var ns = (wsdl.documentElement.attributes["targetNamespace"] + "" == "undefined") ?
It appears to be related to the _loadWsdl function where the xmlHttp.readyState always comes back as 1 instead of the 4 the following is looking for:
SOAPClient._loadWsdl = function (url, method, parameters, async, callback)
{
// load from cache?
var wsdl = SOAPClient_cacheWsdl[url];
if (wsdl + "" != "" && wsdl + "" != "undefined")
{
return SOAPClient._sendSoapRequest(url, method, parameters, async, callback, wsdl);
}
// get wsdl
var xmlHttp = SOAPClient._getXmlHttp();
xmlHttp.open("GET", url + "?wsdl", async);
if (async)
{
xmlHttp.onreadystatechange = function ()
{
if (xmlHttp.readyState == 4)
{
SOAPClient._onLoadWsdl(url, method, parameters, async, callback, xmlHttp);
}
}
}
xmlHttp.send(null);
if (!async)
{
return SOAPClient._onLoadWsdl(url, method, parameters, async, callback, xmlHttp);
}
};
Any thoughts or ideas would be greatly appreciated.
Ed
The text was updated successfully, but these errors were encountered: