C
Chris Bardon
I'm working on an application where I need to be able to call a .net
web service from javascript. I found the webservice.htc file, and was
able to create a page that worked just fine, except that the memory
usage of iexplore.exe began to increase without limit as the service
was called. To demonstrate this, I tried the following script, which
showed the increase very quickly by continuously calling the service.
Since useService is the only method being called, this is likely where
the problem lies. Is there a fix for this problem yet?
Thanks,
Chris
<html>
<head>
<script language="JavaScript">
function init()
{
service.useService("http://testServer/testcti/service1.asmx?WSDL","Test");
call();
}
function call()
{
service.TestCTI.callService("AgentEventWait",1000,100,"ice1");
}
function onWSresult()
{
call();
}
</script>
</head>
<body onload="init()">
<div id="service" style="behavior:url(webservice.htc)"
onresult="onWSresult()">
</div>
</body>
</html>
web service from javascript. I found the webservice.htc file, and was
able to create a page that worked just fine, except that the memory
usage of iexplore.exe began to increase without limit as the service
was called. To demonstrate this, I tried the following script, which
showed the increase very quickly by continuously calling the service.
Since useService is the only method being called, this is likely where
the problem lies. Is there a fix for this problem yet?
Thanks,
Chris
<html>
<head>
<script language="JavaScript">
function init()
{
service.useService("http://testServer/testcti/service1.asmx?WSDL","Test");
call();
}
function call()
{
service.TestCTI.callService("AgentEventWait",1000,100,"ice1");
}
function onWSresult()
{
call();
}
</script>
</head>
<body onload="init()">
<div id="service" style="behavior:url(webservice.htc)"
onresult="onWSresult()">
</div>
</body>
</html>