• Post Reply Bookmark Topic Watch Topic
  • New Topic

(A)Synchronous web service (client)  RSS feed

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

What does it mean to asynchronously call a service ? Can anyone give real world example ?

What does it mean by "service itself can be either synchronous or asynchronous" ? Can anyone give real world example ?


Thanks & Regards,
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Synchorous..
Commonly used in web environments. A client makes a request and waits for the response. example:
Asynchorous..
A client will send a request, disconnet, then may come later and pick up the response by supplying the given uniqueID.
I once read in Axis mailing list they have a sample on this, but cant find it now. I guess BPEL is making use of Asyn calls (have to verify).
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, thanks for changing the display name
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
>>A client will send a request, disconnet, then may come later and pick up >>the response by supplying the given uniqueID

but in the first place, the server responded with uniqueId and here I see a request for uniqueId and the server responding with uniqueId and hence how can this be a asynchronous communication ?
 
James Clinton
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
asynchronous communication


Async WS's (i.e. document/literal style web services) are able to invoke a service and carrying on processing (unlike RPC which has to wait for a response). Yes a reply is sent back but it is purely a receipt to let the client know the service received the request successfully. In some cases this reply can be ignored.

Look up Basic Callback Pattern for further information and see:
http://www-106.ibm.com/developerworks/webservices/library/ws-iuse/
www.javapassion.com/webservices/WSIUsageScenarios4.pdf

HTH
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!