cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Greve (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4958) jaxrs:providers tags seems to be ignored inside jaxrs:client
Date Mon, 15 Apr 2013 14:16:16 GMT

    [ https://issues.apache.org/jira/browse/CXF-4958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631739#comment-13631739
] 

Thomas Greve commented on CXF-4958:
-----------------------------------

Sorry, i am mostly maven illiterate.  Currently, all i have is the interface and the JAXB
annotated model classes.  (The former is one of the differences: i create the proxy from an
annotated interface, which is also given as serviceClass in the configuration file.)  Another
difference: i did not configure any conduit (should i?), the attached configuration is *exactly*
what i use (except for the names being changed), it is not an excerpt.

I can send you a (Jersey based) dummy server and the client test as Eclipse projects.  Would
that help?
                
> jaxrs:providers tags seems to be ignored inside jaxrs:client
> ------------------------------------------------------------
>
>                 Key: CXF-4958
>                 URL: https://issues.apache.org/jira/browse/CXF-4958
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.3, 2.7.4, 2.6.7
>            Reporter: Thomas Greve
>         Attachments: cxf-jackson.xml, cxf-unwrap.xml
>
>
> I try to configure a jax rs proxy based client using cxf.xml to use jackson instead of
the internal JSONProvider.  Alternatively i tried to configure the "depth" parameters without
effect, either.
> This is how i instanciate the client:
>       Service service = JAXRSClientFactory.create(URL, Service.class, "cxf-unwrap.xml");
>       Information information = service.someMethod();
> Inserting JacksonJaxbJSONProvider programmatically works, but i suppose that this is
not the most elegant way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message