You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/10 00:02:58 UTC

[jira] [Resolved] (CXF-4171) Static resource resolution not possible with CXFNonSpringJaxrsServlet

     [ https://issues.apache.org/jira/browse/CXF-4171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-4171.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6
                   2.5.3
                   2.4.7
                   2.3.10
         Assignee: Sergey Beryozkin
    
> 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
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>              Labels: configuration
>             Fix For: 2.3.10, 2.4.7, 2.5.3, 2.6
>
>
> 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