Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4171

Static resource resolution not possible with CXFNonSpringJaxrsServlet

    XMLWordPrintableJSON

Details

    • Novice

    Description

      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.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            jboch Jakub Bocheński
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: