cxf-issues mailing list archives

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

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

Sergey Beryozkin commented on CXF-4958:
---------------------------------------

Hmm... You may be finding some CXF 2.7.x issue (which I don't expect to happen on the trunk,
at least for now due to the fact ProvierFactory has been refactored on the trunk). So registering
from the code works, but not from jaxrs:client, hmm... 
I'm going to investigate asap, I have a backlog of issues - thanks for the input so far. 

                
> 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
>            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