stevensteven
Programmer
For some reason my code is not working:
<html>
<head>
<script language="JavaScript">
function onDoService() {
}
function doService() {
svcElm = document.getElementById("thebody"
;
svcElm.useService(" Service1.asmx/HelloWorld?WSDL","Hello"
;
svcElm.Hello.callService("HelloWorld"
;
}
</script>
</head>
<body id="thebody" style="behavior:url(webservice.htc)" onload="doService()">
</body>
</html>
Does anyone know what is wrong?
Thanks for the help!
Steven
<html>
<head>
<script language="JavaScript">
function onDoService() {
}
function doService() {
svcElm = document.getElementById("thebody"

svcElm.useService(" Service1.asmx/HelloWorld?WSDL","Hello"

svcElm.Hello.callService("HelloWorld"

}
</script>
</head>
<body id="thebody" style="behavior:url(webservice.htc)" onload="doService()">
</body>
</html>
Does anyone know what is wrong?
Thanks for the help!
Steven