Review of Making Web Service Calls
page 5 of 17
by Wenfeng Gao
Feedback
Average Rating: 
Views (Total / Last 10 Days): 79784/ 249
Article Contents:

Making Web Service Calls from ASPX Pages: The Start and End Points of the HTTP Pipeline

I will discuss the start and the end points in term of the sequence of some important events that a request (and a response) might pass through. See [12], [14] and [15] for the HTTP pipeline in details.

 

The following diagram lists some important events in the HTTP pipeline. Most are HttpApplication events.

 

 

With the asynchronous PreRequestHandler execution approach, both the start point and the end point are at the stage of the PreRequestHandlerExecute event. The PreRequestHandlerExecute event occurs just before the HttpHandler for the request is called.

 

With the asynchronous page approach, the start point is at the time when an asynchronous handler is created. This happens after the PreRequestHandlerExecute event and before the Page_Load event. The response data from the Web service call will be available on the Page_Load event handler. The end point is after the Page_Load event (actually after the ProcessRequest call) and before the PostRequestHandlerExecute event.

View Entire Article

User Comments

Title: Code example   
Name: Sean Anderson
Date: 2009-05-26 8:02:17 AM
Comment:
Likewise, I would be very interested in seeing a working example of this, as I have read the article here (and the one on MSDN) both of which give a very good overview of the approach, but without a full example I am rapidly getting stuck.
Title: Great articles but...   
Name: Pascal
Date: 2009-05-21 7:38:29 AM
Comment:
Same comments, great articles but would be nice to have a sample code, not that easy to try when you don't know where you going.
Title: req sample code downloadable..   
Name: Karthik
Date: 2006-01-02 1:13:44 AM
Comment:
Hi,
the article was a nice one.
it would be more good if sample code(downloadable) for asynchronous webservices.
can that be done?

Regards,
Karthik






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


©Copyright 1998-2019 ASPAlliance.com  |  Page Processed at 2019-11-17 2:43:27 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search