?
Solved

What is a Web service stub and callback handler do?

Posted on 2007-03-28
3
Medium Priority
?
1,231 Views
Last Modified: 2007-12-19
What is a Web service stub and callback handler do?
0
Comment
Question by:yankeebushsoftware
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
el_dios earned 2000 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:Mayank S
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

801 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