D
Dave Young
We're using the WebService behaviour in one of our intranet applications,
it's been working fine under IE5 -> IE7. Looking at upgrading browser to IE
8 and found that the web service behaviour is no longer working using that
browser. The useService method is throwing an exception "Object doesn't
support this propery or method. both the htc file and the
WorkQueue_svc.asmx file are located in the same directory as the calling
page. I've tried calling it both with and without the "?WSDL" parameter.
I'm hoping someone can share some insight.
Here's a code snippet:
<script language=javascript>
function loadService()
{
try
{
pagebody.useService("WorkQueue_svc.asmx?WSDL","WorkQueueService");
pagebody.WorkQueueService.onserviceavailable = LoadQueries;
}
catch (e)
{
alert("Cannot find web service WorkQueue_svc.asmx.");
}
}
</script>
<body id="pagebody" style="BEHAVIOR: url(webservice.htc)"
onload="loadService();">
it's been working fine under IE5 -> IE7. Looking at upgrading browser to IE
8 and found that the web service behaviour is no longer working using that
browser. The useService method is throwing an exception "Object doesn't
support this propery or method. both the htc file and the
WorkQueue_svc.asmx file are located in the same directory as the calling
page. I've tried calling it both with and without the "?WSDL" parameter.
I'm hoping someone can share some insight.
Here's a code snippet:
<script language=javascript>
function loadService()
{
try
{
pagebody.useService("WorkQueue_svc.asmx?WSDL","WorkQueueService");
pagebody.WorkQueueService.onserviceavailable = LoadQueries;
}
catch (e)
{
alert("Cannot find web service WorkQueue_svc.asmx.");
}
}
</script>
<body id="pagebody" style="BEHAVIOR: url(webservice.htc)"
onload="loadService();">