ws-savan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r761119 - /webservices/savan/trunk/c/samples/client/subscriber/subscriber.c
Date Thu, 02 Apr 2009 00:17:50 GMT
Author: damitha
Date: Thu Apr  2 00:17:50 2009
New Revision: 761119

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

Modified:
    webservices/savan/trunk/c/samples/client/subscriber/subscriber.c

Modified: webservices/savan/trunk/c/samples/client/subscriber/subscriber.c
URL: http://svn.apache.org/viewvc/webservices/savan/trunk/c/samples/client/subscriber/subscriber.c?rev=761119&r1=761118&r2=761119&view=diff
==============================================================================
--- webservices/savan/trunk/c/samples/client/subscriber/subscriber.c (original)
+++ webservices/savan/trunk/c/samples/client/subscriber/subscriber.c Thu Apr  2 00:17:50 2009
@@ -226,7 +226,6 @@
         axis2_char_t *address,
         axis2_char_t *action)
 {
-    axiom_node_t *ret_node = NULL;
     axiom_node_t *payload = NULL;
 
     AXIS2_LOG_INFO(env->log, "[savan] event_source_handle_lifecycle");
@@ -234,24 +233,7 @@
     payload = build_om_payload_for_weather_event(env, action);
     
     /* Send request */
-    ret_node = axis2_svc_client_send_receive(svc_client, env, payload);
-    
-    if(ret_node)
-    {
-        axis2_char_t *om_str = NULL;
-
-        om_str = axiom_node_to_string(ret_node, env);
-        if (om_str)
-        {
-            printf("\n%s\n", om_str);
-        }
-    }
-    else
-    {
-        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Invoke FAILED: Error code:"
-            " %d :: %s", env->error->error_number, AXIS2_ERROR_GET_MESSAGE(env->error));
-        printf("\nWeather event source call failed\n");
-    }
+    axis2_svc_client_fire_and_forget(svc_client, env, payload);
 }
 
 axiom_node_t *



Mime
View raw message