Apache CXF add namespace in XML response -


i trying return namespace information in xml response of rest service. using apache cxf 2.7.11. have configured

</bean> <!-- cxf jaxb provider --> <bean id="jaxbxmlprovider" class="org.apache.cxf.jaxrs.provider.jaxbelementprovider">     <property name="namespaceprefixes" ref="xmlnamespacemap"></property>   </bean> <util:map id="xmlnamespacemap" map-class="java.util.hashmap">     <entry value="li" key="http://www.abc.xom/xyz"/> </util:map> 

but not return namespace information in xml response. tried debug cxf code , found in org.apache.cxf.jaxrs.provider.abstractjaxbprovider class in setnamespacemapper, code checks "namespacemapperpropertyname", not sure property means.

also if suggest other way return custom namespace in apache-cxf, helpful. thanks


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -