Hi.

Just wanted to ask how to set Content-Transfer-Encoding of a soap
attachment.

Here's a snippet of my code...

            AttachmentImpl att = 
                new AttachmentImpl(id, 
                                   new DataHandler(new
AttachmentDataSource(attachment.getContent(),
                                                                           
attachment.getContentType())));
            att.setHeader("Content-Transfer-Encoding", "base64");

But the attachment's Content-Transfer-Encoding is always sent as binary
(validated through tcpmon); so when I try to open the attachment received in
soapui, the attachment is garbled and looks like it was not decoded.

Thanks in advance.
Kin
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Setting-soap-attachment-Content-Transfer-Encoding-tp3335835p3335835.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to