Switchyard JAXBTransformer does not honor MTOM attachment

Solution Verified - Updated -


  • 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.
    Result: the @XmlMineType field 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)
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content