• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Using HttpSevlet features in bottom-up Axis2 WebService class

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When we develop a WebApp using Servlet, we have available all Web features, like setting and retrieving HTTP headers, sessions, etc.

But when we develop it using Axis2 in a bottom-up way, all we have is a Plain Old Java Class.

I know that Axis2 uses Servlet to implement SOAP WS, so Sevlet features are available underground, and of course we're above HTTP messages, but these feature are hidden.

How can our class access them? Would there be for example some Axis2 class we can use to extend our class, with methods we can call to access these features, as we do with HttpServlet?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What functionality are you hoping to gain by doing this?
 
Hikari Shidou
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cookies, Session, HTTP headers.

When I made this post I needed Session support for a Stateful app. But I learned how to do it in Axis2.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic