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
1.What is Ipconfig? What purpose u can use it? 2.How can u know what ports are busy in ur machine? 3.How can u know particular port is free/ not in ur machine? 4.How many drivers in JDBC? Which Driver u r using? Why?
Give some examples of web applications that are used in our day to day life.
How does DTD work?
If you have an issue with your page, how do you debug it, what tools do you use?
Explain how a web application works?
What is the difference between Web 2.0 and Web 3.0?
What is user application?
1. How can u know that the DB has connected to ur WLS? 2. What happen when u deploy a ear file in web applications? 3. What happen when ur DB and proxy server(Apache) are down n ur weblogic server is up? 4. How can u configure ur proxy server(Apache)? 5. How can the proxy server(Apache) communicate with ur WLS? 6. How the request process to ur WLS through the Proxy server(Apache)? 7. How can u know that ur heap memory is full? 8. When will u do garbage collection?
what are the steps involved in using the validator framework?
On a scale of 1 to 10 rate your proficiency in CSS, JavaScript, PhotoShop, Illustrator, Flash, ActionScript, HTML, DHTML.
Explain the difference between authorization and authentication in web testing.
what is the difference between weblogic and websphere,jboss,tomcat?
what is the relationship between garbagecollection and thread?
What are namespaces? Why are they important?
What is the role of usability testing in web testing?