I'm creating a REST service which accepts input as PathParam and produces JSON Response. The code is working fine and I can able to build the response. After returning the response, REST is throwing an error like "COULD NOT FIND WRITER OR DATASOURCEPROVIDER FOR (ResponseClass) and MediaType application/json". Thanks.
I myself found that the WinkApplication is not loaded properly. The restsdkservice configuration in web.xml was incorrect and because of that JacksonJaxbJsonProvider was not loaded into the Wink. Finally got it after 2 days.
Thanks everyone!!