You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/08/17 04:49:22 UTC
svn commit: r432123 -
/webservices/axis2/trunk/java/xdocs/latest/mtom-guide.html
Author: dims
Date: Wed Aug 16 19:49:21 2006
New Revision: 432123
URL: http://svn.apache.org/viewvc?rev=432123&view=rev
Log:
Fix typo
Modified:
webservices/axis2/trunk/java/xdocs/latest/mtom-guide.html
Modified: webservices/axis2/trunk/java/xdocs/latest/mtom-guide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/latest/mtom-guide.html?rev=432123&r1=432122&r2=432123&view=diff
==============================================================================
--- webservices/axis2/trunk/java/xdocs/latest/mtom-guide.html (original)
+++ webservices/axis2/trunk/java/xdocs/latest/mtom-guide.html Wed Aug 16 19:49:21 2006
@@ -191,7 +191,7 @@
optimized at any case. They will be serialized and send as Base64 Strings.</p>
<source><pre> //create an OMText node with the above DataHandler and set "optimized" to false
//This data will be send as Base64 encoded string regardless of MTOM is enabled or not
- javax.activation.DataHandler dataHandler = new javax.activation.DataHandler(new FileDataHandler("someLocation"));
+ javax.activation.DataHandler dataHandler = new javax.activation.DataHandler(new FileDataSource("someLocation"));
OMText textData = fac.createOMText(dataHandler, false);
image.addChild(textData);</pre>
</source><a name="22"></a>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org