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 / October 2007

Tip: Looking for answers? Try searching our database.

consuming a webservice from internet explorer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ulf - 09 Jan 2006 17:36 GMT
I have found Ajax and webservice.htc that is not supported any more.
Is there a built in funcion for webservices in Visual Studion 2005 / .Net
2.0 ?
What is the best solution ?
ChrisHarrington - 16 Jan 2006 05:56 GMT
I'm not sure that webservice.htc was ever supported. But I still use it
(probably with some minor modifications) with .net 2.0

>I have found Ajax and webservice.htc that is not supported any more.
> Is there a built in funcion for webservices in Visual Studion 2005 / .Net
> 2.0 ?
> What is the best solution ?
Jay - 15 Oct 2007 16:36 GMT
We are in the process of upgrading our existing behavior calls
(webservice.htc) to the more 'supported', as they say, concept of
AJAX. One thing I noticed was that the .htc code practically does the
same thing AJAX does - with nice code that allows you to .value
reference the return XML nice and easily - and now I'm wondering why I
should even bother trying to reinvent the wheel.

The one thing I noticed so far that really looked like an issue is
that the .htc file uses the older 'Microsoft.XMLHttp' object. As far
as I know, there are newer versions (and I'm guesing faster as well)
such as 'MSXML2.XMLHttp.5.0'. I tried to hack the code to instantiate
the 5.0 object and it blew up. I am assuming this is due to the fact
that webservice.htx is not backwards compatible and/or hardcoded
specifically for the 'Microsoft.XMLHttp' object.

Has anyone come across this situation? Is there much to gain by moving
from 'Microsoft.XMLHttp' to 'MSXML2.XMLHttp' object? Should I just
keep the webservice.htc and continue using it, or is it worth to dive
in and upgrade to the newer AJAX stuff?

Thanks for your thoughts...

> I'm not sure that webservice.htc was ever supported. But I still use it
> (probably with some minor modifications) with .net 2.0
[quoted text clipped - 3 lines]
> > 2.0 ?
> > What is the best solution ?

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.