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/12/18 12:41:18 UTC
svn commit: r488240 -
/webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
Author: samisa
Date: Mon Dec 18 03:41:17 2006
New Revision: 488240
URL: http://svn.apache.org/viewvc?view=rev&rev=488240
Log:
Fixed return value for one way invocations.
AXIS2C-467
Modified:
webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
Modified: webservices/axis2/trunk/c/modules/core/clientapi/op_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/clientapi/op_client.c?view=diff&rev=488240&r1=488239&r2=488240
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/op_client.c Mon Dec 18 03:41:17 2006
@@ -550,7 +550,10 @@
if (AXIS2_STRCMP(mep, AXIS2_MEP_URI_OUT_ONLY) == 0 ||
AXIS2_STRCMP(mep, AXIS2_MEP_URI_ROBUST_OUT_ONLY) == 0)
{
- return AXIS2_SUCCESS;
+ if (env->error)
+ return env->error->status_code;
+ else
+ return AXIS2_FAILURE;
}
else
return AXIS2_FAILURE;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org