Hi Guys,
Read all the posts on the thread. Maybe my question is stupid or maybe i
dont get the problem at all.
Here' my web service
@WebMethod
@GET
@Produces("application/json")
@Path("/summaryList/")
Collection<PublisherReport> getSummaryList(String test);
I want the method should return a list of json objects. The Object
PublisherReport contains primitive/equiv object as member variables.
Do i need to write a messagewriter as
public class ListWriter implements MessageBodyWriter<List<PublisherReport>>
{...
}
Or am i not getting the problem at all?
--
View this message in context:
http://www.nabble.com/No-message-body-writer-found-for-response-class-%3A-String---tp25070046p26047209.html
Sent from the cxf-user mailing list archive at Nabble.com.