Hi Ivan,
It seems working fine here.
that is a sample:
https://github.com/danielsoro/cxf-upload
To run:
mvn clean install tomee:run
Fileupload dir:
target/apache-tomee/${FILE}
Em ter, 26 de mar de 2019 às 13:06, Ivan Junckes Filho <
ivanjunc...@gmail.com> escreveu:
> Same issues in all scenari
Same issues in all scenarios Dani :/
On Tue, Mar 26, 2019 at 11:55 AM Daniel Cunha wrote:
> Hi Ivan,
>
> what happening if you don't define the type?
> @Multipart(value = "anexo") Attachment anexo
>
> Em ter, 26 de mar de 2019 às 11:51, Daniel Cunha
> escreveu:
>
> > Have you get same issue wit
Hi Ivan,
what happening if you don't define the type?
@Multipart(value = "anexo") Attachment anexo
Em ter, 26 de mar de 2019 às 11:51, Daniel Cunha
escreveu:
> Have you get same issue with: MultipartBody?
> Something like:
> @Consumes(MediaType.MULTIPART_FORM_DATA)
> public Response upload(Mult
Have you get same issue with: MultipartBody?
Something like:
@Consumes(MediaType.MULTIPART_FORM_DATA)
public Response upload(MultipartBody body,
@PathParam("idProcesso") Long idProcesso {}
So you can get the file from: body.getAllAttachments() or
body.getAttachment("anexo").
I need to try reprodu
*CHROME REQUEST:*
1. Request URL:
http://localhost:8080/crvirtualdemandas/api/processos/anexo/upload/1
2. Request Method:
POST
3. Status Code:
415
4. Remote Address:
[::1]:8080
5. Referrer Policy:
no-referrer-when-downgrade
1. Response
Can you post your stacktrace?
Em ter, 26 de mar de 2019 às 11:20, Ivan Junckes Filho <
ivanjunc...@gmail.com> escreveu:
> Hey guys, I am getting this issue while uploading a file.
>
> Anyone know why this is happening?
>
> https://stackoverflow.com/questions/45075798/cxf-no-message-body-reader-ha
Hey guys, I am getting this issue while uploading a file.
Anyone know why this is happening?
https://stackoverflow.com/questions/45075798/cxf-no-message-body-reader-has-been-found-for-class-attachment