> -----Original Message----- > From: jbright [mailto:[email protected]] > Sent: Friday, October 19, 2012 1:47 AM > To: [email protected] > Subject: Testing JAX-RS which @Consumes ("application/xml") and > @Produces ("application/xml") > > I've a JAX-RS service operation designed which need to *Consume XML * > and > *product XML*. > > I gave the annotations like this: > > @Path ("/getEmployee") > @Produces ("application/xml") > @Consumes ("application/xml") > public Employee getEmployee(EmpRequest req) {......} > > Now, how do I test this? Is there a testing tool to test this?
Sergey pointed you to examples of how you could write automated tests for this. If you're simply looking for an application that can help you manually test this, then SoapUI from SmartBear software is a good tool for this (there is a free version).
