• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

keep the status of the web service

 
Ranch Hand
Posts: 416
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Author
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic