On 22/08/12 12:12, Sergey Beryozkin wrote:
On 22/08/12 00:49, Benson Margulies wrote:
Looks like HTML form elements always result in a particular list of
Accept mime types, and thus @Produces has to claim to produce one of
them, even if that's not the actual type that comes out.

2012-08-21 16:46:29,515 [http-bio-9009-exec-7] DEBUG
org.apache.cxf.jaxrs.utils.JAXRSUtils - No method match, method name :
getCsvDownload, request path :
/downloadCsv/efe582ff-925c-40e1-992f-a12b2e74e7d6, method @Path :
/downloadCsv/${sessionId}, HTTP Method : GET, method HTTP Method :
GET, ContentType : */*, method @Consumes : */*,, Accept :
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,,
method @Produces : application/vnd.ms-excel,.
This has to work given that Accept has a '*/*' among others, will get
back to you a bit later


Actually, I think the problem is to do with this path value:

'/downloadCsv/${sessionId}', note '$' so '/downloadCsv/efe582ff-925c-40e1-992f-a12b2e74e7d6' does not match it, can you confirm please that removing '$' fixes the problem ?

Sergey

Reply via email to