File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes keep the status of the web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "keep the status of the web service" Watch "keep the status of the web service" New topic
Author

keep the status of the web service

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
hello
first of all,exciting to participate the book promotion activity.and following is my question
zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
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.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
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

Joined: May 06, 2003
Posts: 159
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.


Ramesh Nagappan CISSP<br />Co-Author of "Core Security Patterns"<br />nramesh@post.harvard.edu<br /><a href="http://www.coresecuritypatterns.com" target="_blank" rel="nofollow">www.coresecuritypatterns.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: keep the status of the web service