Sorry...  I meant to say that the primary docs (for JAX-RS in CXF) is where I 
got the same XML from.  It doesn't work for me, though.  So, I went looking 
online, and found the osdir.com reference to doing it programmatically.

Regardless, just looking to get it to work via a configuration setting. :-)

On Nov 18, 2009, at 1:35 PM, John Klassa wrote:

> 
> Saw this thread:
> 
> http://osdir.com/ml/users-cxf-apache/2009-09/msg00014.html
> 
> but am wondering how this would be done in a config file.  I saw an example 
> somewhere that says to use:
> 
>  <bean id="jaxbProvider" 
> class="org.apache.cxf.jaxrs.provider.JAXBElementProvider">
>    <property name="marshallerProperties" ref="propertiesMap"/>
>  </bean>
>  <util:map id="propertiesMap" map-class="java.util.Hashtable">
>    <entry key="jaxb.formatted.output" value="true"/>
>  </util:map>
> 
> This seems to have no effect, however.
> 
> Basically, I'm trying to get my JAX-RS resources to come back looking "nice".
> 

Reply via email to