Hi, I'm new to here.

I'm trying to attach a file with a SOAP Handler, but it doesn't work.

My example is here.
https://github.com/emag-notes/cxf-soaphandler-demo

In this example, I use SAAJ API to attach file.
https://github.com/emag-notes/cxf-soaphandler-demo/blob/master/server/src/main/java/cxf/soaphandler/AttachmentHandler.java#L49-L54

However, SOAP Message response is a just SOAP Envelope, not multipart(not
including the file I attached).

Am I missing something? This code works with Axis2.
# Even though I know MTOM, I'd like to use my existing codes AMAP for
now(I'm working on migration from Axis2).

Thanks.

Reply via email to