Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Asynchronious WebService and Callback method

 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Asynchrneous WebService requires a callback method from the requester??
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic