I have a simple Webservice (the infamous Hello program).
This file is in wwwroot and gets called fine.
************************************************** ********************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script Language="Javascript">
var iCallID;
function InitializeService()
{
alert("Before useServer");
service.useService("http://localhost/Hello/Service1.asmx?wsdl","HelloService
");
service.HelloService.callService("HelloWorld");
alert("After callService");
}
function ShowResult()
{
alert(event.result.value);
}
</script>
</head>
<body onload="InitializeService()" id="service"
style="behavior:url(webservice.htc)"
onresult="ShowResult">
</body>
</html>
************************************************** **********************
The webservice.htc file is also in wwwroot.
I get the alert statements in InitializeService. But the ShowResult never
gets Called.
I can call this http://localhost/Hello/Service1.asmx?wsdl fine from IE and
it comes up correctly and runs fine.
I have another service with the same problem, what am I missing?
Thanks,
Tom