Fuse is failing to send MTOM attachments via http requests using secure SOAP web service to another endpoint

Solution Unverified - Updated -

Issue

There is a Camel route intended to do these steps:
Send an MTOM attachment (image/text/pdf files) using SOAP web service with added security headers.

But when the route tries to add the headers, as it is using RAW cxf dataformat, it obtains the body as a String and add the headers, but the attachment is damaged as this is sometimes a binary one.

Environment

FUSE
Openshift

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