Monday 15 April 2013

rest - Springs: creating a Restful service without annotating the domain classes with @xml tags -


I need to create a cool service. I do not have access to some classes, but the result requires sending similar classes. . Is there a way to map the object to xml I tried to use org.springframework.oxm.castor.CastorMarshaller but it responds with additional tags in XML such as

  & Lt; Bean-property-binding-result field-error-count = "0" global-error-count = "0" error-count = "0" & ​​gt;   

Is this a way to use castor marshaller? If any page can not redirect to write

I use velocity templates as Axel templates XML and XML as a response to this issue resolved.

No comments:

Post a Comment