axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Punnoose, Roshan" <punnoo...@bah-systems.com>
Subject RE: Axis2 HttpRequest
Date Mon, 18 Dec 2006 19:49:31 GMT
Ok, let me take that back. Axis2 is awesome, the developers thought of
everything, I was able to get the HttpServletRequest from the properties
in the MessageContext, and from there get the UserPrincipal. Thanks
guys.

 

Roshan Punnoose

Phone: 301-497-6039

________________________________

From: Punnoose, Roshan [mailto:punnooser@bah-systems.com] 
Sent: Monday, December 18, 2006 11:02 AM
To: axis-user@ws.apache.org
Subject: RE: Axis2 HttpRequest

 

Never mind, I just saw that it is only called if it is a REST message,
which mine is not. I'll log a JIRA.

 

Roshan Punnoose

Phone: 301-497-6039

________________________________

From: Punnoose, Roshan [mailto:punnooser@bah-systems.com] 
Sent: Monday, December 18, 2006 11:00 AM
To: axis-user@ws.apache.org
Subject: RE: Axis2 HttpRequest

 

Oh, I was just looking through the AxisServlet, and there is a line that
does this:

 

msgContext.setProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST, req); (in
function createMessageContext)

 

Can I use that?

 

Roshan Punnoose

Phone: 301-497-6039

________________________________

From: sridhar vudutha [mailto:sridhar.jforum@gmail.com] 
Sent: Friday, December 15, 2006 9:50 AM
To: axis-user@ws.apache.org
Subject: Re: Axis2 HttpRequest

 

Hi Roshan,

      There is work around if you want to access the contents of
HttpRequest object. You may place a ServletFilter before AxisServlet and
modify the HttpRequest object as desired.

 

Hope this helps,

- Sridhar.

 

On 12/14/06, Punnoose, Roshan <punnooser@bah-systems.com> wrote: 

Is it possible to get the incoming HTTPRequest object from the
OperationContext when the web service is invoked? Or how about the
HttpSession? 

 

Roshan Punnoose

Phone: 301-497-6039

 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org




 


Mime
View raw message