Three Ways to Consume Web Services with AJAX
page 9 of 9
by Xianzhong Zhu
Feedback
Average Rating: 
Views (Total / Last 10 Days): 65947/ 71

Summary

Web Services often bear responsibility of the tier of business logic in the web application development. As far as various AJAX solutions are concerned, there exists the similar requirement. In this article, we have only examined three seemingly distinct yet relative solutions of consuming Web Services in the AJAX way with three basic samples. Nearly two years have passed since the great "AJAX" dazzled people's eyes. Maybe, the great Web 2.0 eve has just begun; so there is too much for us to explore, as well as the famous Web Services.


View Entire Article

User Comments

Title: Sr. Web Developer   
Name: Nelson Xu
Date: 2008-09-04 11:20:30 AM
Comment:
Hi Xianzhong,
I reall enjoy your article and code sample.
The reason that "Undefined" appears is because you have () for OnSuccess when you call Web service.

SumServiceSpace.SumService.GetSum(
eval(form1.TextBoxA.value),
eval(form1.TextBoxB.value),
OnSuccess());

Message will go away if you remove () after OnSuccess.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-18 9:03:26 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search