hi ,
i tried to update the code in the REST API GET sample code to get a generic type java object, got null value,
ClientResponse response = webResource.type("application/xml").get( ClientResponse.class);
if (response.getStatus() != 200) {
}
// String output = response.getEntity(String.class);// this can get all the response infomation
generated.WorkflowRepresentation workflow = response.getEntity(generated.WorkflowRepresentation.class); // but the workflow is null ,