Hi
On 17/10/14 13:40, Duncan Keysell (dkeysell) wrote:
Hi,
I'm migrating CXF version used in my application from 2.2.12 to later version. 
I've found that one set of clients of the REST resources has been using POST 
requests to a resource that has @DELETE annotation and this was working in 
2.2.12 but isn't when I migrate to later version.

That must've been a pretty bad error, if a POST request was matched to DELETE methods; CXF 2.2.12 is probably JAX-RS 0.8, right ? That said it is strange it ever worked...
Is there some configuration I can apply that will tell the CXF selection 
algorithm to ignore the HTTP Method type?

No, not really, you can change HTTP verb though, most portable way is to use a @PreMatch-annotated ContainerRequestFilter

Cheers, Sergey
Thanks
Duncan


Reply via email to