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

TransformFeature can not be applied to outtbound explicit collections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.4, 2.4.1
    • 2.4.1, 2.3.5
    • JAX-RS
    • None

    Description

      If a resource method returns an explicit collection such as List<Book> then attempting to transform the output with TransformFeature fails.
      This is due to the fact JAX-RS JAXB providers manage the process of writing the collections manually, they manually write a collection wrapper tag and then they serialize every collection member individually

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: