I'm currently trying to setup a SOAP web service, receiving a file as MTOM attachment.
I'm using Spring-WS on Weblogic 12c. Moxy is embedded within Weblogic as default JAXB implementation.
My web service works fine when the file is inline in the SOAP message, but I receive this error from Moxy when enabling MTOM/XOP :
Unable to retrieve attachment with cid cid:1097769359737 because no AttachmentUnmarshaller was set
The file is identified in the SOAP message like this :
<inc:Include href="cid:1097769359737" xmlns:inc="[...]"/>
The generated from the xsd references the file like this :
protected DataHandler file;
Any idea what I should do to set the AttachmentUnmarshaller ?