Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2008

Tip: Looking for answers? Try searching our database.

Is webservice.htc obsolete?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob Kraft - 21 Apr 2008 19:13 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
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.