What steps will reproduce the problem?
1. Call getEntity using OdataJerseyConsumer for an entity does not exist say
'http://services.odata.org/Northwind/Northwind.svc/Customers('AkLFKI')'
2. The service implementation will return '404 Not Found'
3. But OdataJerseyClient.doRequest(...) will throw RuntimeException because
expected status from a response are only 'Status.OK, Status.NO_CONTENT'
What is the expected output? What do you see instead?
Because client is expecting 200 or 204 it throws RuntimeException, actually it
should have 404 as one of the expected status
What version of the product are you using? On what operating system?
0.7.0, worked OK with 0.6.0 as it expected 200, 204 and 404
Original issue reported on code.google.com by junejo.s...@gmail.com on 11 Jul 2013 at 3:20
Original issue reported on code.google.com by
junejo.s...@gmail.com
on 11 Jul 2013 at 3:20