cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-4458) WADL generator should support transformations
Date Thu, 09 Aug 2012 08:20:19 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message