Solved

What is a Web service stub and callback handler do?

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

707 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