We have a simple switchyard project with a webservice(with mtom) binding and a bean component. The mapping between the binding and the bean is modelled with a jaxb transformation.
@XmlMineTypefield in the bean is always null.
If we set
xopExpand(Soap-Binding) to true the field is set with the attachment.
We think that the JaxbTransformer does not resolve the attachments. There is a custom-AttachmentUnmarshaller missing, which resolves the attachments from the switchyard-message.
- Red Hat JBoss Fuse Service Works (FSW)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.