Attachment attachment = new AttachmentImpl(outboundAttachmentName, message.getOutboundAttachment(outboundAttachmentName));
attachments.add(attachment);
}
message.setInvocationProperty(CxfConstants.ATTACHMENTS, attachments);
message.clearAttachments();
}
}
/**
* Takes the set of CXF attachments from the CxfConstants.ATTACHMENTS invocation properties and sets