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/06/22 09:06:24 UTC

svn commit: r416281 - /webservices/axis2/trunk/c/samples/codegen/client/calculator/test_Calcultor.c

Author: samisa
Date: Thu Jun 22 00:06:24 2006
New Revision: 416281

URL: http://svn.apache.org/viewvc?rev=416281&view=rev
Log:
Fixed minor error

Modified:
    webservices/axis2/trunk/c/samples/codegen/client/calculator/test_Calcultor.c

Modified: webservices/axis2/trunk/c/samples/codegen/client/calculator/test_Calcultor.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/codegen/client/calculator/test_Calcultor.c?rev=416281&r1=416280&r2=416281&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/codegen/client/calculator/test_Calcultor.c (original)
+++ webservices/axis2/trunk/c/samples/codegen/client/calculator/test_Calcultor.c Thu Jun 22 00:06:24 2006
@@ -44,6 +44,12 @@
 
     /* invoke the web service method*/
     add_res = axis2_add(  stub, env, add_in );
+
+    if (!add_res)
+    {
+        printf("Error: response NULL\n");
+        return -1;
+    }
     
     /* return the output params using databinding */
     add_out = AXIS2_ADDRESPONSE20_GET_ADDRESPONSE( add_res, env );



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