This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Web Services and the fly likes Asynchronious WebService and Callback method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply 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: 190
Does Asynchrneous WebService requires a callback method from the requester??
Peer Reynders
Bartender

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

For a quick discussion see this


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 190
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: 2906
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Asynchronious WebService and Callback method
 
Similar Threads
What is a callback method?
Question about callback and inline method
doFilter method
an entity bean question
a dumb question about Callback method