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 2005/12/20 04:39:42 UTC

svn commit: r357894 - /webservices/axis2/trunk/c/modules/core/clientapi/src/callback.c

Author: samisa
Date: Mon Dec 19 19:39:35 2005
New Revision: 357894

URL: http://svn.apache.org/viewcvs?rev=357894&view=rev
Log:
Added async callback stuff into the callback. I see no meaning in inheriting here

Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/src/callback.c

Modified: webservices/axis2/trunk/c/modules/core/clientapi/src/callback.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/src/callback.c?rev=357894&r1=357893&r2=357894&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/src/callback.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/src/callback.c Mon Dec 19 19:39:35 2005
@@ -91,12 +91,13 @@
 
 axis2_status_t AXIS2_CALL axis2_callback_invoke_on_complete(struct axis2_callback *callback, axis2_env_t **env, axis2_async_result_t *result)
 {
+    /*TODO return axis2_callback_set_envelope(callback, env, AXIS2_ASYNC_RESULT_GET_ENVELOPE(async_result, env));*/
     return AXIS2_SUCCESS;
 }
 
 axis2_status_t AXIS2_CALL axis2_callback_report_error(struct axis2_callback *callback, axis2_env_t **env, int exception)
 {
-    return AXIS2_SUCCESS;
+    return axis2_callback_set_error(callback, env, exception);
 }
 
 axis2_bool_t AXIS2_CALL axis2_callback_get_complete(struct axis2_callback *callback, axis2_env_t **env)