G
Guest
Hi
I have a problem with an webservice on my machine. The problem is that i
have the same code on production server and it works fine but on my machine
does not work anymore. I have an xp + sp2 using IIS 5 . Server is using
win2k+sp4 with iis5. Can someone tell me what is wrong with may machine?
This happens with all my applications which are using webservices.
I think it's because off the sp2 but i'm not sure.
1 the webservice is responding
2 i tried to put also url path to the webservice and it's same problem
3 i have the webservice.htc in the same directory with my page
The code is as follow:
<body onload="loadService();" class="body">
<div style="behavior:webservice.htc" id="service"
onresult="storeToSession()" Navigate="true"></div>
</body>
loadService(){
try{
document.all.service.useService("WebService.asmx?WSDL", "service");
}catch(e){}
// here is the problem because it give me a javascript error "Object
doesn't support this property or method"
}
Thank
I have a problem with an webservice on my machine. The problem is that i
have the same code on production server and it works fine but on my machine
does not work anymore. I have an xp + sp2 using IIS 5 . Server is using
win2k+sp4 with iis5. Can someone tell me what is wrong with may machine?
This happens with all my applications which are using webservices.
I think it's because off the sp2 but i'm not sure.
1 the webservice is responding
2 i tried to put also url path to the webservice and it's same problem
3 i have the webservice.htc in the same directory with my page
The code is as follow:
<body onload="loadService();" class="body">
<div style="behavior:webservice.htc" id="service"
onresult="storeToSession()" Navigate="true"></div>
</body>
loadService(){
try{
document.all.service.useService("WebService.asmx?WSDL", "service");
}catch(e){}
// here is the problem because it give me a javascript error "Object
doesn't support this property or method"
}
Thank