Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

keep the status of the web service

 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
first of all,exciting to participate the book promotion activity.and following is my question
 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my question is:
i learn that the webservice can keep the status information by two ways:
1 within the cookie
2 within the soap envelope
i wonder how i can decide which one is used by my webservice,if i can explicitly tell the webservice to choice one over the other?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember something about Axis session management being proprietary - could someone clarify this? At least I can't find a word about sessions in the SOAP spec at W3C.
 
zb cong
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes,i have the same idea,i think the web service is a developing issue,and the session issue is just the new topic,different implements should give the different solution.
here,i want to consult the authors of "Developing Java Web Services",how does the JWSDK deal with such issue?
 
Ramesh Nagappan
Author
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by zb cong:
yes,i have the same idea,i think the web service is a developing issue,and the session issue is just the new topic,different implements should give the different solution.
here,i want to consult the authors of "Developing Java Web Services",how does the JWSDK deal with such issue?


Buiding Stateful RPC Web service is possible...but the underlying implementation must support it.
Take a look at JAX-RPC, it allows maintain session state maintenance on both server and client side runtime. I will post a code snippet at the earliest...or send me a private message.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic