cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Giles (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2869) have JAXBElementProvider look for @XmlJavaTypeAdapter on the interfaces
Date Fri, 02 Jul 2010 16:30:49 GMT
have JAXBElementProvider look for @XmlJavaTypeAdapter on the interfaces
-----------------------------------------------------------------------

                 Key: CXF-2869
                 URL: https://issues.apache.org/jira/browse/CXF-2869
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.2.9, 2.2.8, 2.2.7
            Reporter: Peter Giles
             Fix For: 2.2.10


When the return type of a JAX-RS annotated method is an interface, and the interface has a
@JavaXmlTypeAdapter on it, the JAXBElementProvider should find that adapter so it can do the
appropriate conversion.  Per Sergey:

"At the moment JAXBElementProvider is capable of working with @XmlJavaTypeAdapter but it does
not check the interfaces. The workaround : add @XmlJavaTypeAdapter as a method annotation
to getAll() or to BaseballCardImpl. [...] but I can see that the fix can be trivial in this
case :-)" 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message