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

Have you ever used more than one external style sheet and if so, how did you use it?

1972


What all information does a URL contain?

928


What type of design skills do you have?

1814


Explain how a web application works?

900


Can you save a website to your desktop?

857


Enlist some sub-classes of http response objects?

840


what is the difference between weblogic and websphere,jboss,tomcat?

27569


what are propritory databases?

1976


How does CGI work? Can I use 'C' language to write a CGI?

2131


How to create virtual directory in IIS?

1862


Who are the founders of YAHOO & GOOGLE?When they founded?

1876


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

879


What is the role of usability testing in web testing?

827


Difference between display none and visibility hidden ?

870


How can you test the security of a Web site,both manually and by using a tool?

1863