Solved

What is a Web service stub and callback handler do?

Posted on 2007-03-28
3
1,184 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: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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 96
Apps blocked by Java 9 79
hibernate example issues from command prompt 10 41
How to determine if a string is a valid SHA value 7 31
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.
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

770 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