cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] Resolved: (CXF-2521) Improvment for JAXBElementProvider for setting NamespacePrefixes
Date Wed, 04 Nov 2009 13:17:32 GMT


Sergey Beryozkin resolved CXF-2521.

    Resolution: Won't Fix

A custom mapper can already be set by specifying marshaller properties from Spring

> Improvment for JAXBElementProvider for setting NamespacePrefixes
> ----------------------------------------------------------------
>                 Key: CXF-2521
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>    Affects Versions: 2.2.4
>            Reporter: Hasan Hosgel
>         Attachments:
> We had the problem during our development, that we want to set the NamespacePrefixes
for the outgoing resources. For Json it working so far good. But unforunately the org.apache.cxf.jaxrs.provider.JAXBElementProvider
does not offering something similar for setting the NamespaceMap. We did an extension for
the JAXBElementProvider and override the method createMarshaller(...) from the org.apache.cxf.jaxrs.provider.AbstractJAXBProvider
and adding a method for setting the NamespaceMap. Our solution is attached.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message