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

WADL Generator ignores @PathParams mapped on class fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.4.2, 2.5
    • JAX-RS

    Description

      I have a request scoped resource via a RequestScopeResourceFactory and <aop:scoped-proxy /> as described on http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Lifecyclemanagement to be able to inject @PathParams on class fields. This works as expected however the mapped parameters do not show up in the auto-generated WADL. After a quick look in the source code of org.apache.cxf.jaxrs.model.wadl.WADLGenerator it seems it is only looking for method-level parameters.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            rvullriede Raphael Vullriede
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: