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
Win a copy of
Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud
this week in the
Cloud/Virtualization
forum!
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:
Forum:
Web Services
Unable to access HttpServletRequest object in Axis2 messageContext
David Cheung
Greenhorn
Posts: 10
posted 14 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 14 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 14 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 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Did you correctly engage your module in the in-flow handler chain?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
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...