*
The moose likes Web Services and the fly likes Using HttpSevlet features in bottom-up Axis2 WebService class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Using HttpSevlet features in bottom-up Axis2 WebService class" Watch "Using HttpSevlet features in bottom-up Axis2 WebService class" New topic
Author

Using HttpSevlet features in bottom-up Axis2 WebService class

Hikari Shidou
Ranch Hand

Joined: Jan 22, 2013
Posts: 88
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
Marshal

Joined: Mar 22, 2005
Posts: 41053
    
  43
What functionality are you hoping to gain by doing this?


Ping & DNS - my free Android networking tools app
Hikari Shidou
Ranch Hand

Joined: Jan 22, 2013
Posts: 88
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using HttpSevlet features in bottom-up Axis2 WebService class
 
Similar Threads
Is there a chance to use both SOAP and Rest webservices in the same project ?
News from Kada Systems!
Web Service Deployment Error in Eclipse with Axis2 and Tomcat7 Server
Scan the file for Virus while uploading
javax.xml.ws Packaging simple Questions