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

ElementClass annotation is ignored on JAX-RS service interface when generating the WADL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.8
    • 3.0.10, 3.1.7, 3.2.0
    • JAX-RS
    • None
    • Moderate

    Description

      For the purpose of generating a WADL, contrary to what would be dictated by best practices the "ElementClass" annotation is ignored by CXF when it is placed on the JAX-RS service interface.

      The annotation must be present on the service's implementation in order for the grammar section of the WADL to be generated correctly, and for the response types to be correctly linked to a grammar type.

      Attachments

        1. ZoomitWadlBugTest.java
          6 kB
          Stefaan Vanderheyden
        2. ZoomitWadlBugTest.java
          8 kB
          Stefaan Vanderheyden

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            mrsvan Stefaan Vanderheyden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: