What is Synchronous and Asynchronous webservices?

What is Synchronous and Asynchronous webservices?

Postby hemangims » Sat Jun 16, 2012 2:57 am

What is synchronous and asynchronous webservices? Explain with examples.
hemangims
 
Posts: 17
Joined: Sat Apr 28, 2012 12:30 am

Re: What is Synchronous and Asynchronous webservices?

Postby hemangims » Sun Jun 17, 2012 8:12 pm

Synchronous web services have a continuous flow of data, request and response, that enables a user to receive processed result in real time. In this, the requestor application, on sending a request to another application, will wait for the response from the latter, before further processing. The response is immediate in this type.It is simple, fast and doesn't need to build in complex error handling mechanisms (for handling timed out responses) and most commonly used for Webservices Eg.Instant messenger, IP Telephony, Video Conferencing where there is immediate exchange of data.

In asynchronous web services, on the other hand, a number of requests is sent by requestor application to the other application without waiting for the reponse. The latter, then accepts the requests in a queue, processes it and gives response to all the requests from the requestor application, only at a scheduled time. The response is not immediate.Eg. Email, Discussion boards where the reponse is not immediate.

The examples given are not exactly related to Webservices, but just as per my understanding.
hemangims
 
Posts: 17
Joined: Sat Apr 28, 2012 12:30 am


Return to WebServices - SOA Testing

Who is online

Users browsing this forum: No registered users and 1 guest

cron