All,
How can I use Jersey to consume JSON REST Web Services?
Can the below code be used to consume JSON services? Is the Entity supposed to be a JAXB annotated bean?
response.getEntity(...);
RonakfinalWebResource resource = Client.create().resource("
http://localhost/serviceurl");finalBuilder resourceBuilder = resource.queryParams(queryParams).accept(MediaType.APPLICATION_JSON_TYPE);finalClientResponse response = resourceBuilder.get(ClientResponse.class);