views:

168

answers:

2

We have some really old code that calls WebServices using behaviours (webservice.htc), and we are having some strange problems... since they've been deprecated a long time ago, I want to change the call.

What's the correct way of doing it? It's ASP.NET 1.1

EDIT: Please stop re-tagging when it's not needed. Refer to the FAQ

A: 

While I'm not 100% sure what the Web Service behavior does, I recall it allows client-side script to call Web Services, which would make AJAX it's contemporary replacement.

Since you're using .NET 1.1 how about using Ajax.NET Professional to connect to the web services?

Ubiguchi
+2  A: 

You should be able to generate a proxy class using wsdl.exe. Then just use the web service as you normally would.

Thedric Walker