You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by du...@apache.org on 2007/05/24 08:55:38 UTC
svn commit: r541205 - /webservices/axis2/trunk/c/samples/server/echo/echo.c
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