You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by sa...@apache.org on 2007/02/22 07:30:57 UTC
svn commit: r510415 -
/webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c
Author: samisa
Date: Wed Feb 21 22:30:57 2007
New Revision: 510415
URL: http://svn.apache.org/viewvc?view=rev&rev=510415
Log:
Added logic to print payload
Modified:
webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c
Modified: webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c?view=diff&rev=510415&r1=510414&r2=510415
==============================================================================
--- webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c (original)
+++ webservices/sandesha/trunk/c/samples/rm_echo_single_1_0/rm_echo_single.c Wed Feb 21 22:30:57 2007
@@ -74,8 +74,8 @@
AXIS2_LOG_LEVEL_DEBUG);*/
/*env = axis2_env_create_all("echo_non_blocking_dual.log",
AXIS2_LOG_LEVEL_ERROR);*/
- env = axis2_env_create_all("echo_non_blocking_dual.log",
- AXIS2_LOG_LEVEL_CRITICAL);
+ env = axis2_env_create_all("rm_echo_single_1_0.log",
+ AXIS2_LOG_LEVEL_DEBUG);
/* Set end point reference of echo service */
/*address = "http://127.0.0.1:8888/axis2/services/RMSampleService";*/
@@ -198,7 +198,13 @@
payload = build_om_payload_for_echo_svc(env, "echo3", "sequence1");
result = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);
if(result)
+ {
+ axis2_char_t *om_str = NULL;
+ om_str = AXIOM_NODE_TO_STRING(result, env);
+ if (om_str)
+ printf("\nSending OM : %s\n", om_str);
printf("\necho client single channel invoke SUCCESSFUL!\n");
+ }
payload = NULL;
AXIS2_SLEEP(3 * SANDESHA2_MAX_COUNT);
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org