• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cxf and servlet.

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic