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 ma...@apache.org on 2008/07/22 12:59:00 UTC

svn commit: r678711 - /webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c

Author: manjula
Date: Tue Jul 22 03:59:00 2008
New Revision: 678711

URL: http://svn.apache.org/viewvc?rev=678711&view=rev
Log:
Fixing non-optimized case.

Modified:
    webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c

Modified: webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c?rev=678711&r1=678710&r2=678711&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c Tue Jul 22 03:59:00 2008
@@ -86,7 +86,11 @@
                              "http://ws.apache.org/axis2/c/samples/mtomSample");
 
     axis2_options_set_soap_version(options, env, AXIOM_SOAP11);
-    axis2_options_set_enable_mtom(options, env, AXIS2_TRUE);
+
+    if(optimized)
+    {
+        axis2_options_set_enable_mtom(options, env, AXIS2_TRUE);
+    }
 
     /* Set up deploy folder. It is from the deploy folder, the configuration is picked up
      * using the axis2.xml file.