I moved the question to CXF forums and I also added solution
http://cxf.547215.n5.nabble.com/Multipart-file-upload-td5730547.html
--
View this message in context:
http://camel.465427.n5.nabble.com/File-upload-tp5735172p5735840.html
Sent from the Camel - Users mailing list archive at Nabble.co
On 08/07/13 13:57, Sergey Beryozkin wrote:
Hi,
The method expects a form payload but the log shows the content type is
'application/x-www-form-urlencoded'...
sorry, I meant to say the method expects a multipart/form-data payload...
sergey
Please consider asking on CXF users list when a route
Hi,
The method expects a form payload but the log shows the content type is
'application/x-www-form-urlencoded'...
Please consider asking on CXF users list when a route does not work due
to a CXF specific exception...
Thanks, Sergey
On 08/07/13 13:30, jamalissimo wrote:
Hello Sergey,
thank
Hello Sergey,
thanks for the tip. I am still experimenting and so far I can see from the
log, that I am receiving the request, but I am not able create a condition
for choice definition.
This is the REST part:
@POST
@Consumes(MediaType.MULTIPART_FORM_DATA)
@Path("/upload
Hi
On 04/07/13 08:16, jamalissimo wrote:
Hello guys,
I have working file upload route(
http://camel.465427.n5.nabble.com/Send-file-via-POST-request-td5728674.html#a5729109
). Only problem is that I can send only file which is located at the same
server as Karaf. My workflow is like this:
Server