Page view counter

[How Do I:] ASP.NET AJAX Enable an Existing Web Service?

Please install Silverlight or click download to watch video locally.

This video demonstrates how simple it is to add Microsoft ASP.NET AJAX functionality to an existing ASP.NET web service. This enables the web service to generate a JavaScript proxy that the client browser can use to call the web service.

Presented by Joe Stagner

Duration: 23 minutes, 31 seconds

Date: 26 January 2007

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 14

Leave a Comment

aarturo : On August 04, 2008 5:21 PM said:

Hi Joe,

Your example worked great!  but as soon as I created a separate project for my webservice I ran into issues.   It appears that I am not getting a resolveable path for my asmx file.

typically it would be something like

Path="WebServiceName.asmx"  

If the webservice resides in same project but I have it in another project whose name is wsNorthwind and the webservice is NorthwindJS.asmx.  So I figured this

Path="~/wsNorthwind/NorthwindJS.asmx"  I get an error that says NorthwindJS is undefined.

I also tried envoking it as wsNorthwind.NorthwindJS.SayHello with no success?!

What gives??

cv_vikram : On August 06, 2008 1:26 PM said:

It is simple and good....

pnv.ravikiran : On August 06, 2008 9:23 PM said:

really helpful, thanks Joe

westdesertguy : On September 19, 2008 5:56 PM said:

Joe, it seems your example fails in FireFox and Google Chrome. What would cause this?

Great tutorial though! Thanks!

GaganK1 : On September 24, 2008 8:26 PM said:

Hi Joe

I do have same problem as "aarturo".

I am not able to call my web service which resides outside of my current application. Any Idea on that...

trevorabrooks : On November 26, 2008 12:57 PM said:
Danny117 : On December 21, 2008 12:21 PM said:

This is a must watch video.

djibril_chimere_DIAW : On December 30, 2008 3:01 AM said:

Thanks! Jërëjëf!

ashokrbp : On March 02, 2009 11:44 PM said:

awesome video...But I have an xml file as an output from the webservice. so now What should I have in the OnComplete function.

ashokrbp : On March 03, 2009 1:58 AM said:

Will this work if my webservice uses a database to retrieve the data?

Posted at 06:48 in the video

kotiRaj : On April 29, 2009 9:57 AM said:
useful video , thanks dude

Posted at 06:48 in the video

kotiRaj : On April 29, 2009 9:57 AM said:
useful video , thanks dude
TTao675 : On May 10, 2009 11:17 AM said:

thanks! :)

abelanet : On May 27, 2009 12:21 PM said:

Great! Thanks

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities