From 50a3bd959411e750cf318a476fc4ee44a709c1cb Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Thu, 7 Jun 2012 11:31:13 +0200 Subject: [PATCH] fixed issue on load --- resources/library/applications/GeoInfo.wgt/GeoInfo.html | 4 ++-- resources/library/applications/GeoInfo.wgt/js/soapclient.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/library/applications/GeoInfo.wgt/GeoInfo.html b/resources/library/applications/GeoInfo.wgt/GeoInfo.html index 77032cb1..b4eeab7c 100644 --- a/resources/library/applications/GeoInfo.wgt/GeoInfo.html +++ b/resources/library/applications/GeoInfo.wgt/GeoInfo.html @@ -31,7 +31,7 @@ - +
@@ -2081,4 +2081,4 @@
- \ No newline at end of file + diff --git a/resources/library/applications/GeoInfo.wgt/js/soapclient.js b/resources/library/applications/GeoInfo.wgt/js/soapclient.js index 31555465..0c50b23c 100644 --- a/resources/library/applications/GeoInfo.wgt/js/soapclient.js +++ b/resources/library/applications/GeoInfo.wgt/js/soapclient.js @@ -143,6 +143,7 @@ SOAPClient._loadWsdl = function(url, method, parameters, async, callback) } } xmlHttp.send(null); + if (!async) return SOAPClient._onLoadWsdl(url, method, parameters, async, callback, xmlHttp); } @@ -154,6 +155,7 @@ SOAPClient._onLoadWsdl = function(url, method, parameters, async, callback, req) } SOAPClient._sendSoapRequest = function(url, method, parameters, async, callback, wsdl) { + alert(); // get namespace var ns = (wsdl.documentElement.attributes["targetNamespace"] + "" == "undefined") ? wsdl.documentElement.attributes.getNamedItem("targetNamespace").nodeValue : wsdl.documentElement.attributes["targetNamespace"].value; // build SOAP request