You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by da...@apache.org on 2006/10/27 07:40:32 UTC

svn commit: r468282 - /webservices/sandesha/trunk/c/samples/client/rm_ping/rm_ping_client.c

Author: damitha
Date: Thu Oct 26 22:40:31 2006
New Revision: 468282

URL: http://svn.apache.org/viewvc?view=rev&rev=468282
Log:
AXIS2C-308

Modified:
    webservices/sandesha/trunk/c/samples/client/rm_ping/rm_ping_client.c

Modified: webservices/sandesha/trunk/c/samples/client/rm_ping/rm_ping_client.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/client/rm_ping/rm_ping_client.c?view=diff&rev=468282&r1=468281&r2=468282
==============================================================================
--- webservices/sandesha/trunk/c/samples/client/rm_ping/rm_ping_client.c (original)
+++ webservices/sandesha/trunk/c/samples/client/rm_ping/rm_ping_client.c Thu Oct 26 22:40:31 2006
@@ -108,8 +108,9 @@
     
     /* Send request */
     payload = build_om_programatically(env, "ping1");
-    AXIS2_SVC_CLIENT_SEND_ROBUST(svc_client, env, payload);
-    printf("\nping client invoke SUCCESSFUL!\n");
+    status = AXIS2_SVC_CLIENT_SEND_ROBUST(svc_client, env, payload);
+    if(status)
+        printf("\nping client invoke SUCCESSFUL!\n");
 
     property = axis2_property_create(env);
     AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_REQUEST);
@@ -117,8 +118,9 @@
     AXIS2_OPTIONS_SET_PROPERTY(options, env, "Sandesha2LastMessage", 
             property);
     payload = build_om_programatically(env, "ping2");
-    AXIS2_SVC_CLIENT_SEND_ROBUST(svc_client, env, payload);
-    printf("\nping client invoke SUCCESSFUL!\n");
+    status = AXIS2_SVC_CLIENT_SEND_ROBUST(svc_client, env, payload);
+    if(status)
+        printf("\nping client invoke SUCCESSFUL!\n");
      /** Wait till callback is complete. Simply keep the parent thread running
        until our on_complete or on_error is invoked */
 



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org