Author: veithen
Date: Sun Oct 12 09:28:39 2008
New Revision: 703843
URL: http://svn.apache.org/viewvc?rev=703843&view=rev
Log:
WSCOMMONS-390: Correctly propagate the OMOutputFormat object in
MIMEOutputUtils.writeDataHandlerWithAttachmentsMessage so that
USE_CTE_BASE64_FOR_NON_TEXTUAL_ATTACHMENTS can be used with
SOAPMessageFormatter.
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
URL:
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java?rev=703843&r1=703842&r2=703843&view=diff
==============================================================================
---
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
(original)
+++
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
Sun Oct 12 09:28:39 2008
@@ -372,7 +372,7 @@
while (iterator.hasNext()) {
String key = (String) iterator.next();
MimeBodyPart part = createMimeBodyPart(key,
- (DataHandler) attachments.get(key));
+ (DataHandler) attachments.get(key), format);
writeBodyPart(outputStream, part,
format.getMimeBoundary());
}