You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2019/10/17 10:55:00 UTC
[jira] [Resolved] (CXF-8093) Can't register custom WadlGenerator in
JAXRSServerFactoryBean.
[ https://issues.apache.org/jira/browse/CXF-8093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved CXF-8093.
--------------------------------------
Resolution: Incomplete
> Can't register custom WadlGenerator in JAXRSServerFactoryBean.
> --------------------------------------------------------------
>
> Key: CXF-8093
> URL: https://issues.apache.org/jira/browse/CXF-8093
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.3.2
> Reporter: Marat
> Priority: Major
>
> Documentation says:
> One can register a custom WadlGenerator as a jaxrs:provider. The custom generator can extend the default
> org.apache.cxf.jaxrs.model.wadl.WadlGenerator or register a default one with one of the following properties set.
> It worked in the old version of CXF, but not I use CXF 3.3.2 and It doesn't work.
> CXF always uses ServerProviderFactory.WADL_PROVIDER_NAME from classloader and ignores custom WadlGenerator from JAXRSServerFactoryBean.setProviders().
> Maybe, documentation hasn't been updated. How can I register custom WADL generator without using reflection if I use JAXRSServerFactoryBean?
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)