Switchyard JAXBTransformer does not honor MTOM attachment

Solution Verified - Updated -

Issue

  • 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.

Environment

  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.