Hi Simon,

I think, this is an open issue. I helped myself with a workaround like 
you have done. Maybe you could directly request a Form. I'm not sure. 
With the form I called the JAX-RS method that was originally planed (as 
your example in the first email). So you are very close to the right 
JAX-RS way.
Someone needs to fix this.

Thanks for the patch for issue 913.

best regards
   Stephan

Am 12.11.2010 19:13, schrieb Simon Temple:
> I tried adding breakpoints to the internal providers:
>
> org.restlet.ext.jaxrs.internal.provider.MultipartProvider
> org.restlet.ext.jaxrs.internal.provider.FileUploadProvider
>
> They don't get called.
>
> When ParameterList$FormParamGetter.getParamValue() is called to get the form 
> values it returns null.
>
> The entity Representation is: InputRepresentation and creating a Form( 
> entity) yields this:
>
> [(------------------------------180e37a65aa7
> Content-Disposition: form-data; name,"myField"
>
> hello
> ------------------------------180e37a65aa7--
> )]
>
> Help!!
>
> please ;-)

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2682005

Reply via email to