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,
RR Kumaran
SCJP 1.4
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
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).
>>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
Joined: Jun 23, 2003
Posts: 190
posted
0
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.