[RESOLVED]Javascript Web service call useService from webservice.htc not working in IE11

Is there a way for this to work? I am migrating some codes to be IE11 Compatible but then I got the following error for a script calling a web service.

Object doesn’t support property or method ‘useService’. Please help!

 function UpdateCombos(svrType)
 var C;
 var C1;
 var I1;
 /* get the default cemetery*/
 lblTitle=document.getElementById("lblCaption") ;
 C= getCemeteryName(lblTitle.innerText); 
 if  (svrType.length > 0)  
  service.useService("../Services/wsCMS.asmx?WSDL", "GetList");
  iCallID = service.GetCoffinList.callService(GetListResult,"GetList", C, svrType, C1);  
  service.useService("../Services/wsCMS.asmx?WSDL", "GetIList");
  iCallID = service.GetIList.callService(IResult,"GetIList", C, svrType, I1);  


Check this site. There it mentions clearly, webservice behavior has been obselete from IE10.


Leave a Reply