Hi
I'm trying to implement a REST WS to upload files with CXF 2.3.3 but I'm
getting a "* Couldn't find MIME boundary" error and I don't know what's
wrong.
*
This is what I have:
First the REST interface:
@Produces("text/xml")
public interface ImageService {
   @POST
   @Path("/upload")
   @Consumes("multipart/form-data")
    Response upload(MultipartBody body);
}
Then I do a POST with this
the jsp code is like:
  
  name: 
 
  file: 
 
   
   

Type some text (if you like):
Please specify a file, or a set of files:

*
*
*I get this error *
*
*
*
WARN org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper -
WebApplicationException has been caught : Couldn't find MIME boundary:
Thanks in advance,


--
View this message in context: 
http://cxf.547215.n5.nabble.com/getting-a-Couldn-t-find-MIME-boundary-error-when-implement-a-REST-WS-to-upload-files-tp4272817p4272817.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to