[
https://issues.apache.org/jira/browse/CXF-5852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053549#comment-14053549
]
Sergey Beryozkin commented on CXF-5852:
---------------------------------------
Hi Romain
Thanks for opening the issue. It is not strictly dependent on Jettison but on a
given provider capable of converting either Document or XMLStreamReader into
JSON. CXF JSONProvider uses CXF Document XMLStreamReader wrapper and StaxUtils
to copy from this reader to Jettison XMLStreamWriter. Can you please check if
Jackson JAXB provider can work with XMLStreamReader ? if yes then as a short
term solution I can update WADLGenerator to prepare XMLStreamReader immediately
Thanks, Sergey
> _wadl creates a Document for json MediaType and supposes jettison is used
> behind, please allow to use another mapper
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-5852
> URL: https://issues.apache.org/jira/browse/CXF-5852
> Project: CXF
> Issue Type: Improvement
> Affects Versions: 3.0.0
> Reporter: Romain Manni-Bucau
>
> Hi
> in WadlGenerator if the query type is json then a Document is returned.
> Jettison is able to map it but if you replace providers (jackson, fleece,
> ...) it doesn't work.
> The idea is to get rid of this and return an object model of the wadl, this
> way any provider can map it.
--
This message was sent by Atlassian JIRA
(v6.2#6252)