Hmm that's strange, when I look with LoggingInterceptor, I see a POST request :
Encoding: ISO-8859-1 Http-Method: POST Content-Type: application/xml I use HttpUrlConnection to perform the request, maybe this class modify my original request? Anthony -----Original Message----- From: Sergey Beryozkin [mailto:[email protected]] Sent: mercredi 30 octobre 2013 13:08 To: [email protected] Cc: MULLER, Anthony Subject: Re: [JAXRS] A request GET with a body is dispatched on a @POST annotated method Hi Anthony On 30/10/13 12:00, MULLER, Anthony wrote: > Hello Sergey, > > When I perform a GET request with a body, CXF is invoking a method annotated > with POST instead of throwing an exception (Method not allowed)... > > Is it a known problem? A "normal" behavior ? > Can you give me a favor and double check that what actually arrives to CXF is a GET request as opposed to a POST one. For example, add a cxf logging feature or LoggingInInterecptor Thanks, Sergey > Thanks and regards, > Anthony >
