xstreamXStream Services provides hhyou can do that by overriding the default marshaller. import org.springframework.oxm.xstream.XStreamMarshaller; import