Solved

What is a Web service stub and callback handler do?

Posted on 2007-03-28
3
1,177 Views
Last Modified: 2007-12-19
What is a Web service stub and callback handler do?
0
Comment
Question by:yankeebushsoftware
3 Comments
 
LVL 3

Accepted Solution

by:
el_dios earned 500 total points
ID: 18813877
Web services communication is done using XMLs. Imagine creating XMLs for every request and parsing the xml file after receiving the response.

A stub makes that invisible to the user, as well as the network calls.

If our web service takes some time to continue instead of waiting for the response we can continue with the execution of the client, if we use callback handlers. when the response is received the callback handler is invoked.

Sashwat
http://tech-sash.blogspot.com
0
 
LVL 30

Expert Comment

by:mayankeagle
ID: 18813891
Yes the callback handler is used for asynchronous communication with the WS.

The stub basically abstracts out the connection, communication and serialization/ de-serialization of parameters for you. You just invoke the proxy as a local class/ method and it results in a network call to the actual web service.
0
 

Author Comment

by:yankeebushsoftware
ID: 18813896
sorry mayankeagle i missed your comment, i'll give you some points next time
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now