axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r558990 - /webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c
Date Tue, 24 Jul 2007 09:53:36 GMT
Author: sahan
Date: Tue Jul 24 02:53:35 2007
New Revision: 558990

URL: http://svn.apache.org/viewvc?view=rev&rev=558990
Log:
Removing unwanted printf()s
Setting proper soap version at faults

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c?view=diff&rev=558990&r1=558989&r2=558990
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c Tue Jul
24 02:53:35 2007
@@ -327,7 +327,6 @@
 
     if (! xml_reader)
     {
-        printf("Here 1\n");
         return AXIS2_FAILURE;
     }
 
@@ -338,7 +337,6 @@
     {
         axiom_xml_reader_free(xml_reader, env);
         xml_reader = NULL;
-        printf("Here 2\n");
         return AXIS2_FAILURE;
     }
 
@@ -354,7 +352,7 @@
             /*axiom_stax_builder_free(om_builder, env);*/
             om_builder = NULL;
             xml_reader = NULL;
-            printf("Here 3\n");
+            axis2_msg_ctx_set_is_soap_11(msg_ctx, env, is_soap11);
             return AXIS2_FAILURE;
         }
 
@@ -367,7 +365,7 @@
             xml_reader = NULL;
             axiom_soap_builder_free(soap_builder, env);
             soap_builder = NULL;
-            printf("Here 4\n");
+            axis2_msg_ctx_set_is_soap_11(msg_ctx, env, is_soap11);
             return AXIS2_FAILURE;
         }
     }
@@ -385,6 +383,7 @@
                 /*axiom_stax_builder_free(om_builder, env);*/
                 om_builder = NULL;
                 xml_reader = NULL;
+                axis2_msg_ctx_set_is_soap_11(msg_ctx, env, is_soap11);
                 return AXIS2_FAILURE;
             }
             soap_envelope = axiom_soap_builder_get_soap_envelope(
@@ -395,6 +394,7 @@
                 om_builder = NULL;
                 xml_reader = NULL;
                 soap_builder = NULL;
+                axis2_msg_ctx_set_is_soap_11(msg_ctx, env, is_soap11);
                 return AXIS2_FAILURE;
             }
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message