O'Reilly logo

ASP.NET Developer's JumpStart by Ken Getz, Paul D. Sheriff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Consuming a Web Service Asynchronously

In the previous section, because you're calling the Web Service method directly, your page must wait for the return value before it can display the results. Most commercial Web sites don't require you to sit and wait until the page has completed its processing before displaying confirmation information.

For example, imagine a site where you register for a conference and request a hotel room for the conference at the same time. The conference site might be calling an XML Web Service provided by the hotel, and calling that Web Service might take measurable time. The conference site can't confirm your hotel room—they must have the hotel chain do this for you. Rather than forcing you to wait while the conference ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required