This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Services and the fly likes Regarding conversational web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Regarding conversational web services" Watch "Regarding conversational web services" New topic

Regarding conversational web services

Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 417
In conversational web services,server maintains conversation Id for each conversation. But how does client send that id to server,is it like session id,but session id is stored in cookies,so where is conversation id stored.
Watsh Rajneesh
Ranch Hand

Joined: Apr 17, 2006
Posts: 109
You may use the soap:Header entries to send a correlation identifier from client to server or you can design your interface methods to support passing the client token (in which case it will be passed in the soap:Body). Refer about managing conversational state and about correlating messages and about passing context info on webservice calls.

SCJP 5.0 (90%), SCDJWS 1.4 (88%), SCWCD 1.4 (82%), SCBCD 1.3 (85%)
Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 417
Ok,the client maintains conversational state with end web-service through a token , but where is that token stored.Is that token stored in cookie??
I agree. Here's the link:
subject: Regarding conversational web services
Similar Threads
Regarding Stateful Session Bean!!
HttpSession = total confusion
regarding conversational web services
SOAP and SessionTracking
distinctions between Stateless and Stateful bean