Jim Ma wrote:
I just have a quick test in cxf code base with jetty https connection, and I can always get the schema from HttpServletRequest. So looks like it is an issue in our cxf integration code. I've created the jira issue https://jira.jboss.org/browse/JBWS-3081 for it. Will look at it later.
Yes, I suspect that it is a result of the way the integration code hands off the request to a worker thread and closes the HTTP connection. I think the worker thread does not have access to the original request. When I looked at the request in the debugger all itsfields were null. It seemed to me that it was just an empty object created by the getRequest() method when it failed to detect a request associated with the worker thread.