Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Cxf and servlet.

Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guy's
Ok ive got a simple problems here.
I have an application with a little servlet. The little servlet is starting a session and put and user object on it with a simple username var.

What im trying to do its a webservice that ship me the session of the user with cxf. So Im trying to do a little test so ive got a function name

public HttpSession getSession(String sessId){}

And on this function i will provide the session id get by the servlet up front. So the problems is .. with my session-id i can't found the way to have the httpsession object. So .. im screwed.

Now ive got this :

The problems with that code ..
First i never try it because i can't compile it ..
the MessageContext.SERVLET_REQUEST dosen't not seam to exist ?
Any clue ?
Hold that thought. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!