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

Simple frontend + generics list type + XmlAdapter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.2.9
    • Invalid
    • Simple Frontend
    • None
    • simple frontend, JAXB, generics, XmlAdapter

    Description

      Simple frontend does not seem to support a generics list type with XmlAdapter.

      Adapters work fine until they try to map some generics data (e.g. a generics list like MyGenericsList, see attached project).
      (JAX-WS frontend works).

      There is warning message at startup, should it mean that JAXWS is the preferred frontend for CXF in general, or only until some better Adapter support is implemented (is it planned?) ?
      "
      org.apache.cxf.service.factory.ReflectionServiceFactoryBean checkServiceClassAnnotations
      WARNING: A JAX-WS Annotation was found on demo.hw.server.HelloWorldImpl while using the Simple frontend. For better results, use the JAX-WS frontend.
      "

      I attach a demo project.. (if there is some way to do it..)

      Attachments

        1. MyGenericsTestWS.jar
          7 kB
          Tamas KIS

        Activity

          People

            Unassigned Unassigned
            holzfreiweiss Tamas KIS
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: