axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thil...@apache.org
Subject svn commit: r231408 - /webservices/axis/trunk/java/modules/xml/test/org/apache/axis2/om/MIMEOutputUtilsTest.java
Date Thu, 11 Aug 2005 06:15:03 GMT
Author: thilina
Date: Wed Aug 10 23:14:56 2005
New Revision: 231408

URL: http://svn.apache.org/viewcvs?rev=231408&view=rev
Log:
fixing the built

Modified:
    webservices/axis/trunk/java/modules/xml/test/org/apache/axis2/om/MIMEOutputUtilsTest.java

Modified: webservices/axis/trunk/java/modules/xml/test/org/apache/axis2/om/MIMEOutputUtilsTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test/org/apache/axis2/om/MIMEOutputUtilsTest.java?rev=231408&r1=231407&r2=231408&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test/org/apache/axis2/om/MIMEOutputUtilsTest.java
(original)
+++ webservices/axis/trunk/java/modules/xml/test/org/apache/axis2/om/MIMEOutputUtilsTest.java
Wed Aug 10 23:14:56 2005
@@ -19,6 +19,7 @@
 import org.apache.axis2.attachments.ByteArrayDataSource;
 import org.apache.axis2.om.impl.MIMEOutputUtils;
 import org.apache.axis2.om.impl.OMOutputImpl;
+import org.apache.axis2.soap.SOAP12Constants;
 import org.apache.axis2.soap.SOAPFactory;
 
 import javax.activation.DataHandler;
@@ -50,7 +51,7 @@
 
         String contentType = org.apache.axis2.om.impl.MIMEOutputUtils
 				.getContentTypeForMime(boundary, omOutput.getRootContentId(),
-						omOutput.getCharSetEncoding());
+						omOutput.getCharSetEncoding(),SOAP12Constants.SOAP_12_CONTENT_TYPE);
         DataHandler dataHandler;
         dataHandler = new DataHandler(new ByteArrayDataSource(byteArray));
         OMText textData = factory.createText(dataHandler, true);



Mime
View raw message