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?

1870


Where?s global assembly cache located on the system? Can you have two files with the same file name in GAC?

1949


Is it right way to earn revenue through google adsense? Is it Possible?

2061


What type of design skills do you have?

1813


How to test iBackup and storage products?

1763


What is an example of a web based application?

775


What are the different configurations which have to be considered while testing a website?

877


How does DTD work?

4358


How to test Web application in which the value is changing dynamic every time and anyone can modify it?

1698


What are the test case formats in case of a static website and dynamic website?

842


What is the result of “20” + 20;

911


What's the difference between a *.WSDL file and a *.DISCO file?

3427


What all information does a URL contain?

925


I want to crate my personal website. I am having my website on webs.com which provide some space but it templete based. I want to gain free web space and plz tell me how to custmize it....plz suggest me... Thanks...

2140


What are differences between DTDs and Schema?

891