Currently I have my Jersey (JAX-RS) Webservice return an JAXB annotated Object with a simple @Produces("text/xml")
in my Webservice method. Unfortunately the output looks rather messy because its not formatted with breaks and spaces.
Is there an annotation I can use like RESTeasy's @Formatted
or
how do I implement a marshaller, and where?