Hi

I'm sorry, that property has to be of type java.lang.Boolean according
to the Marshaller docs. I'm not sure right now how to specify from
Spring that a given map value should be of Boolean type, does anyone
know how to do it ?
I'll give it a try tomorrow

Thanks, Sergey



-----Original Message-----
From: John Klassa [mailto:[email protected]] 
Sent: 18 November 2009 18:39
To: [email protected]
Subject: Re: pretty printing XML


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