Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the various ways of accessing a web service?

Answer Posted / swapna

1. Asynchronous Call

Application can make a call to the Webservice and then
continue to do whatever it wants to do. When the service is
ready it will notify the application. Application can use
BEGIN and END method to make asynchronous call to the web
method. We can use either a WaitHandle or a Delegate object
when making asynchronous call.


The WaitHandle class share resources between several
objects. It provides several methods which will wait for
the resources to become available.


The easiest and most powerful way to implement an
asynchronous call is using a delegate object. A delegate
object wraps up a callback function. The idea is to pass a
method in the invocation of the web method. When the web
method has finished it will call this callback function to
process the result.

2. Synchronous Call
Application has to wait until execution has completed.





Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

WHAT ARE THE ADVANTAGES OF DEDICTED HOSTING OVER SHARED HOSTING?

1885


What is Webget and WebInvoke in rest service? Tell difference between them

970


Give me an example of how you have planned projects from start to finish. What is your development lifecycle?

1863


what are propritory databases?

1991


How to kill cookies from Web page?

1896


How do you troubleshoot when a website displays '404:Page Not Found;'. what are the various steps that you take to diplay the page requested?

2679


how to connect application to database by using the command?

1602


what is the difference between require() and include() when an error is encountered?

892


What can you do to improve page performance?

889


what is web accessibility?

924


What is the result of “20” + 20;

920


Enlist some web testing tools.

896


What is Web architecture that are followed while doing online project and tell the samples of architecture?

1780


What is the difference between relative and absolute url?

972


Explain how a web application works?

915