You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by th...@apache.org on 2005/08/11 08:15:03 UTC
svn commit: r231408 -
/webservices/axis/trunk/java/modules/xml/test/org/apache/axis2/om/MIMEOutputUtilsTest.java
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);