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

Sergey Beryozkin commented on CXF-4458:
---------------------------------------

I think it can not be done. Effectively, we will need to completely customize 
the way JAXB generates the schemas, given that the transformation feature can 
affect the representation in many ways. In such cases, consider using 
jaxrs:server/@docLocation attribute which will point to a custom WADL document.
Save the document generated by default, modify the schema a bit and link to it 
from @docLocation. This approach also works for non-JAXB bindings
                
> WADL generator should support transformations
> ---------------------------------------------
>
>                 Key: CXF-4458
>                 URL: https://issues.apache.org/jira/browse/CXF-4458
>             Project: CXF
>          Issue Type: Wish
>          Components: JAX-RS, JAXB Databinding
>    Affects Versions: 2.6.1
>            Reporter: David Dossot
>
> I'm using an {{outTransformElements}} to configure some element 
> transformations on {{org.apache.cxf.jaxrs.provider.JAXBElementProvider}}. It 
> works perfectly fine but unfortunately the generated WADL doesn't reflect 
> this transformation, leading to a discrepancy between the published and the 
> actual API.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to