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

Requirements

·         Windows XP Professional (with IIS installed)

·         Visual Studio 2005

·         SOAP-based JavaScript library titled soapclient.js

·         AjaxPro.NET Framework

·         Microsoft ASP.NET AJAX Framework

To follow along with the examples, you need to download the source files accompanying this article. And also, for brevity, we omit representing the install of each framework used below since each is shipped with a straightforward introduction.


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 6:59:08 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search