What is the SUPPORTED method of consuming web services?

R

Ryan Jacops

I am looking to consume a web service from the client side
w/o refreshing the page. I have already read the article
"Remote Scripting in a .NET World" (see ref. below).
However, the client side portion of the example in this
article uses the webservice.htc (made available free for
download by MS), which unfortunately is unsupported (see
ref. below). And I can say from personal experience (and
from others' that I've read about) of memory leak problems
with this component that it must be unsupported for good
reason.

So my question remains: What is the SUPPORTED/bug-free
way of consuming a web service from the client side
without refreshing the page?

The only way I've come up with is to use the XMLHTTP
object, which is what I've used for years in similar
applications. Is this still the way to go? I guess I
just figured there must be some new way to go in .NET.

References:

"Remote Scripting in a .NET World"
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnclinic/html/scripting11122001.asp


Microsoft's unsupported warning:
http://msdn.microsoft.com/downloads/samples/internet/defaul
t.asp?
url=/downloads/samples/internet/behaviors/library/webservic
e/default.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top