views:

159

answers:

0

Hi! I have a method definition as such:

 @POST
 @Path("save")
 @Consumes("application/json")
 public void save(Map<ClientVO, Map<AssessmentVO, String>> data){
  System.out.println("THIS IS THE DATA: " + data);
 }

When I try to unmarshall on the server, I get the following exception

Exception in thread "main" org.jboss.resteasy.client.ClientResponseFailure: Error status 404 Not Found returned

Tracing through the code, it seem that it cannot find the Object ClientVO. What am I missing here? How to I specify to add an instance of ClientVO when unmarshalling?