axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kausha...@apache.org
Subject svn commit: r529882 - in /webservices/axis2/trunk/c: src/core/clientapi/svc_client.c util/src/stream.c
Date Wed, 18 Apr 2007 05:57:24 GMT
Author: kaushalye
Date: Tue Apr 17 22:57:23 2007
New Revision: 529882

URL: http://svn.apache.org/viewvc?view=rev&rev=529882
Log:
1. Modified logic in svc_client's SOAP BODY check. 
2. Removed unneccessary log message in axutil stream. This is troublesome in C14N.

Modified:
    webservices/axis2/trunk/c/src/core/clientapi/svc_client.c
    webservices/axis2/trunk/c/util/src/stream.c

Modified: webservices/axis2/trunk/c/src/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/clientapi/svc_client.c?view=diff&rev=529882&r1=529881&r2=529882
==============================================================================
--- webservices/axis2/trunk/c/src/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/src/core/clientapi/svc_client.c Tue Apr 17 22:57:23 2007
@@ -760,6 +760,17 @@
 
     if (!soap_body)
     {
+        axiom_node_t *node =  axiom_soap_envelope_get_base_node(soap_envelope, env);
+        if (node)
+        {
+            axiom_element_t *envelope_element = 
+                (axiom_element_t*) axiom_node_get_data_element(node, env);
+            axiom_util_get_first_child_element_with_localname(envelope_element,     
+                env, node, AXIOM_SOAP_BODY_LOCAL_NAME, &soap_node);
+            if (soap_node){
+                return axiom_node_get_first_element(soap_node, env);
+            }
+        }
         return NULL;
     }
 

Modified: webservices/axis2/trunk/c/util/src/stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/stream.c?view=diff&rev=529882&r1=529881&r2=529882
==============================================================================
--- webservices/axis2/trunk/c/util/src/stream.c (original)
+++ webservices/axis2/trunk/c/util/src/stream.c Tue Apr 17 22:57:23 2007
@@ -300,7 +300,6 @@
     if (!buffer)
         return -1;
 
-    AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[axutil_stream_write_basic]  %s %d",(char*)buffer,
count);
     
     stream = stream;
     new_len = stream->len + count;



---------------------------------------------------------------------
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