axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dushshan...@apache.org
Subject svn commit: r541205 - /webservices/axis2/trunk/c/samples/server/echo/echo.c
Date Thu, 24 May 2007 06:55:38 GMT
Author: dushshantha
Date: Wed May 23 23:55:37 2007
New Revision: 541205

URL: http://svn.apache.org/viewvc?view=rev&rev=541205
Log: (empty)

Modified:
    webservices/axis2/trunk/c/samples/server/echo/echo.c

Modified: webservices/axis2/trunk/c/samples/server/echo/echo.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/echo/echo.c?view=diff&rev=541205&r1=541204&r2=541205
==============================================================================
--- webservices/axis2/trunk/c/samples/server/echo/echo.c (original)
+++ webservices/axis2/trunk/c/samples/server/echo/echo.c Wed May 23 23:55:37 2007
@@ -42,15 +42,15 @@
         return NULL;
     }
 
-    /*text_parent_node = axiom_node_get_first_element(node, env);
+    text_parent_node = axiom_node_get_first_element(node, env);
     if (!text_parent_node) 
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST,
AXIS2_FAILURE);
         printf("Echo client ERROR 1: invalid XML in request\n");
         return NULL;
-    }*/
+    }
 
-    text_node = axiom_node_get_first_child(node, env);
+    text_node = axiom_node_get_first_child(text_parent_node, env);
     if (!text_node) /* actual text to echo */
     {
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST,
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