Static resource resolution not possible with CXFNonSpringJaxrsServlet
---------------------------------------------------------------------

                 Key: CXF-4171
                 URL: https://issues.apache.org/jira/browse/CXF-4171
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.5.2
            Reporter: Jakub Bocheński


The title says it all. I wanted this to get a full WADL document, and found 
it's not supported.

I was able to do it only by changing the source code - adding 
bean.setStaticSubresourceResolution(true); to ResourceUtils:621 (before 
bean.setResourceClasses(resourceClasses) ) does the trick.

Since this requires source code modification or copy-pasting and overriding 
methods in both CXFNonSpringJaxrsServlet and ResourceUtils I think that there 
should be a config option similiar to jaxrs.application.address.ignore 
available for this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to