wood burning stoves 2.0*
The moose likes Web Services and the fly likes Asynchronious WebService and Callback method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Asynchronious WebService and Callback method" Watch "Asynchronious WebService and Callback method" New topic
Author

Asynchronious WebService and Callback method

Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
Does Asynchrneous WebService requires a callback method from the requester??
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Worse - it requires an endpoint URI that the provider can deliver the result for the consumer to.

For a quick discussion see this
Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 191
thanks Peer, I understood what you are saying. If you know about the specifics of co-relation_id ? I mean where to put that in SOAP request? I believe reply-to is a standard WS-Addressing header.

A.B
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by Awais Bajwa:
If you know about the specifics of co-relation_id ? I mean where to put that in SOAP request? I believe reply-to is a standard WS-Addressing header.


Are you talking about a correlation identifier?

If my understanding is correct that goes into the {http://schemas.xmlsoap.org/ws/2004/08/addressing}RelatesTo header which references the {http://schemas.xmlsoap.org/ws/2004/08/addressing}MessageID of the reply that was sent by the service. While this is typically used in the service response to identify the client's request, the client could provide the MessageID of the last service response to "continue the conversation". The progression of the messageIDs throughout the conversation can also be used by the service to check whether the client has processed the service's last response.
[ May 05, 2008: Message edited by: Peer Reynders ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Asynchronious WebService and Callback method