axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manj...@apache.org
Subject svn commit: r678711 - /webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c
Date Tue, 22 Jul 2008 10:59:00 GMT
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.



Mime
View raw message