Hi Sergey,

the workaround does not work for me: If I try to add @XmlJavaTypeAdapter as
a method annotation I get the same Exception (IllegalAnnotationExceptions)
and if I try to add @XmlJavaTypeAdapter in the implementation class I get a
".No message body writer found" message.

In addition, I only have problems with Collection or List parameters/return
type. For example, a method like:

@GET
public BaseballCard getBaseballCard();

works fine, but a method like:

@GET
 public List<BaseballCard> getAll()

throws the famous IllegalAnnotationExceptions.

Thanks,
Elias
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/JAX-RS-service-w-interface-result-type-XmlJavaTypeAdapter-tp564352p1750090.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to