Http 204 error in REST web service (Jersey)?

I'm guessing the exception is not related to the response code (204) because 204 is a success condition that indicates "No Content.

I'm not sure what getAllCars does but you can use something like Fiddler to help you view the traffic and see what is being returned to the client and whether its in proper format etc.

Make sure getBaseURI is returning a value. Perhaps try: Client client = new Client(); WebResource resource = client. Resource(getBaseURI()); CarStore carStore = resource.

Path("/rest/cars"). Accept(MediaType. APPLICATION_XML).

Get(CarStore. Class).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions