users@jersey.java.net

Consuming XML using Jersey

From: emile <shrrrine_at_gmail.com>
Date: Thu, 4 Mar 2010 21:36:59 -0800 (PST)

Hi,

I have the following method -

@POST
        @Consumes(MediaType.APPLICATION_XML)
        @Produces(MediaType.APPLICATION_XML)
        public String getObjectAsXML()

the method obtains a request along with an XML object and returns the object
from a repository as an XML object. Not sure how to parse the incoming XML
to set the object properties. Any pointers on this would be helpful.
-- 
View this message in context: http://n2.nabble.com/Consuming-XML-using-Jersey-tp4679210p4679210.html
Sent from the Jersey mailing list archive at Nabble.com.