Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Web Services
Search Coderanch
Advance search
Google search
Register / Login
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
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
Web Services
Unable to access HttpServletRequest object in Axis2 messageContext
David Cheung
Greenhorn
Posts: 10
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I created a user-defined handler in my Axis2
servlet
, but when I try to access the HttpServletRequest object, it always returns null.
public class MyHandler extends AbstractHandler { @Override public InvocationResponse invoke(MessageContext msgContext) throws AxisFault { msgContext.getProperty("transport.http.servletRequest"); <-- null } }
Why can I not access this object?
Thanks!
Kamal Wickramanayake
Greenhorn
Posts: 27
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If you wouldn't mind, could you please tell why you want to access this object?
David Cheung
Greenhorn
Posts: 10
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Want to access the http authorization header
Kamal Wickramanayake
Greenhorn
Posts: 27
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Did you correctly engage your module in the in-flow handler chain?
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
problem by invoking web service with axis2
Passing an Object from Application to Handler
Calling getUserPrincipal() in a Web Service returns ANONYMOUS
WebServiceContext.getUserPrincipal() Question
How to access HTTP Response Headers with Axis Handlers
More...