On 12/02/14 15:36, Jose María Zaragoza wrote:
2014-02-12 16:16 GMT+01:00 Sergey Beryozkin <[email protected]>:
CXF 2.7.10 ? I thought the last 2.7.x release was 2.7.8
it's been released this week
Thanks,
I've tested and it works :-)
But I don't dare to deploy CXF 2.7.10 release in a real enviroment
is there any way to configure JSON provider ( Jettison 1.3.5, in this
case ) directly
Well I don't know if Jettison 1.3.5 is a stable release ...I need to check it
The only workaround in CXF 2.7.3:
Override JSONProvider.createWriter, cast it to
org.codehaus.jettison.mapped.MapppedXmlStreamWriter, reflectively access
its private MappedNamespaceConvention 'convention' field and
finally set the required property on it.
if you do try it and make it work and if you plan to stay with CXF 2.7.3
for a while then I can update MapppedXmlStreamWriter a bit to get a
non-reflective access to MappedNamespaceConvention for Jettison 1.3.6,
will do in in a couple of months time
Cheers. Sergey
Regards