CXF
  1. CXF
  2. CXF-4171

Static resource resolution not possible with CXFNonSpringJaxrsServlet

    Details

    • Estimated Complexity:
      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.

        Activity

        Daniel Kulp made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Sergey Beryozkin made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jakub Bocheński made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Sergey Beryozkin made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jakub Bocheński made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Sergey Beryozkin made changes -
        Fix Version/s 2.4.7 [ 12319492 ]
        Fix Version/s 2.5.3 [ 12319491 ]
        Fix Version/s 2.6 [ 12319252 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Sergey Beryozkin [ sergey_beryozkin ]
        Fix Version/s 2.3.10 [ 12319493 ]
        Jakub Bocheński made changes -
        Estimated Complexity Unknown [ 10060 ] Novice [ 10061 ]
        Jakub Bocheński made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Minor [ 4 ]
        Jakub Bocheński created issue -

          People

          • Assignee:
            Sergey Beryozkin
            Reporter:
            Jakub Bocheński
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development