[
https://issues.apache.org/jira/browse/CXF-6514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652540#comment-14652540
]
Sergey Beryozkin commented on CXF-6514:
---------------------------------------
Is your custom provider typed by String or Object ? If by Object then the
default provider will win, see 4.2.2/4 of the final 2.0 spec.
> endpoints returning String can't use a custom provider
> ------------------------------------------------------
>
> Key: CXF-6514
> URL: https://issues.apache.org/jira/browse/CXF-6514
> Project: CXF
> Issue Type: Bug
> Reporter: Romain Manni-Bucau
>
> Seems sorting of providers in ServerProviderFactory is done in a way you cant
> override the provider used for String type even using a custom @Produces type
> cause StringTextProvider si always selected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)