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 sa...@apache.org on 2006/09/17 07:21:10 UTC
svn commit: r447018 - /webservices/axis2/trunk/c/samples/client/echo/echo.c
Author: samisa
Date: Sat Sep 16 22:21:09 2006
New Revision: 447018
URL: http://svn.apache.org/viewvc?view=rev&rev=447018
Log:
Removed the test logic
Modified:
webservices/axis2/trunk/c/samples/client/echo/echo.c
Modified: webservices/axis2/trunk/c/samples/client/echo/echo.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/echo/echo.c?view=diff&rev=447018&r1=447017&r2=447018
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo/echo.c (original)
+++ webservices/axis2/trunk/c/samples/client/echo/echo.c Sat Sep 16 22:21:09 2006
@@ -87,9 +87,6 @@
AXIS2_SVC_CLIENT_ENGAGE_MODULE(svc_client, env, AXIS2_MODULE_ADDRESSING);
/* Build the SOAP request message payload using OM API.*/
- int i = 0;
- for ( i = 0; i < 1000; i++)
- {
payload = build_om_payload_for_echo_svc(env);
/* Send request */
@@ -99,9 +96,9 @@
{
axis2_char_t *om_str = NULL;
om_str = AXIOM_NODE_TO_STRING(ret_node, env);
- /*if (om_str)
+ if (om_str)
printf("\nReceived OM : %s\n", om_str);
- printf("\necho client invoke SUCCESSFUL!\n");*/
+ printf("\necho client invoke SUCCESSFUL!\n");
}
else
{
@@ -111,8 +108,6 @@
printf("echo client invoke FAILED!\n");
}
- }
-
if (svc_client)
{
AXIS2_SVC_CLIENT_FREE(svc_client, env);
@@ -138,10 +133,9 @@
text_om_ele = axiom_element_create(env, echo_om_node, "text", NULL, &text_om_node);
AXIOM_ELEMENT_SET_TEXT(text_om_ele, env, "echo5", text_om_node);
- /*om_str = AXIOM_NODE_TO_STRING(echo_om_node, env);
+ om_str = AXIOM_NODE_TO_STRING(echo_om_node, env);
if (om_str)
printf("\nSending OM : %s\n", om_str);
- */
return echo_om_node;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org