You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Marat (Jira)" <ji...@apache.org> on 2019/08/21 09:54:00 UTC

[jira] [Updated] (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 ]

Marat updated CXF-8093:
-----------------------
    Description: 
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?

 

  was:
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 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?

 


> 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.2#803003)