What are the various ways of accessing a web service?

Answers were Sorted based on User's Feedback



What are the various ways of accessing a web service?..

Answer / wani king

Basically, accessing a web means, accessing the web pages
from the web server, so there are various methods by
virture of which one can access the web pages from the web
server. the best one is URL ( both obsolute and relative
can can the same), Hyperlinks can be a good move, search
Engines. Hypermedia.

Is This Answer Correct ?    2 Yes 3 No

What are the various ways of accessing a web service?..

Answer / 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

More Web Related AllOther Interview Questions

What is Firewall?

0 Answers  


Why do we need nested master pages in a Web site?

0 Answers   MindCracker,


Can I host muliple sites on same machine?

0 Answers  


how to connect application to database by using the command?

0 Answers   CTS,


What are namespaces? Why are they important?

0 Answers  






Explain the difference between authorization and authentication in web testing.

0 Answers  


What software do you use to build websites? Give me an example of a project that you built using JavaScript. What kind of functionality did you create?

0 Answers  


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

0 Answers  


what is the relationship between garbagecollection and thread?

0 Answers   CTS,


What is the difference between Web 2.0 and Web 3.0?

0 Answers  


What is the difference between local link popularity and global link popularity

0 Answers  


what is web accessibility?

0 Answers  


Categories