praveen rapelli

praveen rapelli

  • NA
  • 28
  • 39.5k

unable to call webservice in mozilla firefox

Jun 20 2011 3:14 AM
Question:Is mozilla having seperate .htc file?some articles tell that mozilla
does not support .htc file.so how can solve my problem,please tell me.

<html>
  <head>
  <title>Consume Count Service</title>
  <script>
  function tlaCL(str, flag )
  {
  tlaCountService.useService("http://example.com/intellisense.asmx?WSDL", "Service");
  tlaCid = tlaCountService.Service.callService("GetCustomers", str, flag);
  alert("hi1");
  }
  function tlaCR( )
  {
  tlaCount.innerText = event.result.value ;
  alert("hi2");
  }
  var tlaCid ;
  </script>
  <div id="tlaCountService" style="behavior:url(webservice.htc)" onresult="tlaCR()"></div>
  </head>
  <body onload="tlaCL('tlanet.net/index.html')" onresult="tlaCR( )">
  <center>
  <span id="tlaCount">&#183;</span>
  </center>
  </body>
</html>

Answers (2)