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:51:00 UTC
[jira] [Created] (CXF-8093) Can't register custom WadlGenerator in
JAXRSServerFactoryBean.
Marat created CXF-8093:
--------------------------
Summary: 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
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?
--
This message was sent by Atlassian Jira
(v8.3.2#803003)