Hi
Can you check if therr're even available at the server ?
I don't think one can submit query parameters with DELETE.
DELETE is an individual resource targeted method AFAIK.
So if you'd like to do something like
delete all (people) resources of a given age then I'm not even sure what is a
restful way to do it.
I'd go for POST to the collection resource then - even if it may not see very
restful
But please check if query parameters are available on the server. For ex, direct the request through a tcptrace tool and see how URI
looks like
Cheers, Sergey
Hi,
I've implemented the GET method of REST SERVICEs, but am having difficulty
when trying to implemetn the DELETE method. The QueryParam that I am
specifying isn't getting passed to the service. Does anyone have any ideas
why this could be? Here is the code:
@DELETE
public void delete(@QueryParam("age") @DefaultValue("-1") int age)
{
}
Thanks
--
View this message in context:
http://www.nabble.com/JAX-RS-%40Delete-%40QueryParam-tp20679058p20679058.html
Sent from the cxf-user mailing list archive at Nabble.com.