Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using HttpSevlet features in bottom-up Axis2 WebService class

 
Hikari Shidou
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • 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?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic