I started developing a web service following samples that made use of
webservice.htc. I have since found a way to call a web service with
javascript from a web page that is MUCH easier than using webservice.htc. Is
webservice.htc obsolete? Would webservice.htc have any advantage over this
approach?
namespace MyCompany.Services.Control
{
[WebService(Namespace = "http://www.MyCompany.com/Services/Control/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ToolboxItem(false)]
[ScriptService]
public class FrameItemService : System.Web.Services.WebService
{
[WebMethod(EnableSession=true)]
public string HelloWorld()
{
}
}
}
John Saunders - 21 Apr 2008 19:34 GMT
> I started developing a web service following samples that made use of
> webservice.htc. I have since found a way to call a web service with
[quoted text clipped - 3 lines]
> this
> approach?
webservice.htc is very old. It's from the days before AJAX. It is as
obsolete as the SOAP Toolkit.

Signature
--------------------------------------------------------------------------------
John Saunders | MVP – Windows Server System – Connected System Developer