Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

@HttpSessionScope

 
Stefan Gerber
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I get an exception when i tried to call my Webservice. I use the @HttpSessionScope
on my webservice. What does it mean. How can i deploy a servlet endpoint

@HttpSessionScope but it's deployed on non-servlet endpoint
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
The @HttpSessionScope is an annotation specific to the JAX-WS reference implementation, that is Metro.
Take a look at this article describing how to use the annotation: http://weblogs.java.net/blog/2006/10/17/bringing-state-back-web-services-httpsession-scope
Also try to ask questions in a way that is more understandable - it will increase the chance of receiving understandable answers.
Take a look at this page for some advice: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
Best wishes!
 
Stefan Gerber
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your Answer. Ahm you are right the question wasn't very clear. But i inserted the exception at my post but it seems that something got wrong. Any way i will have a look at your link.

 
I can't take it! You are too smart for me! Here is the tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!