Hello Sergey,
As a continuation to this discussion, I would like to know please if there
is a JSON provider in cxf which :
1) works without adding @XmlRootElement on classes
2) allows using @XmlJavaTypeAdapter JAXB annotation for handling interfaces,
ex:
public void op(
@XmlJavaTypeAdapter(InterfaceAdapter.class)
ResourceInterface r);
I tried org.apache.cxf.jaxrs.provider.json.JSONProvider, but it requires
adding @XmlRootElement on classes. I tried also
org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider, which works without
adding
@XmlRootElement, but it didn't treat the @XmlJavaTypeAdapter.
Could I have an idea please how to use my adapter class (InterfaceAdapter)
with JAX-RS for JSON?
Kind regards,
Diana
--
View this message in context:
http://cxf.547215.n5.nabble.com/XmlRootElement-with-jax-rs-jax-ws-tp566400p5740975.html
Sent from the cxf-user mailing list archive at Nabble.com.