You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2007/09/18 10:14:27 UTC

svn commit: r576768 - /webservices/axis2/trunk/c/samples/client/math/math_client.c

Author: samisa
Date: Tue Sep 18 01:14:27 2007
New Revision: 576768

URL: http://svn.apache.org/viewvc?rev=576768&view=rev
Log:
Fixed the bug in case the repo is not set correcly

Modified:
    webservices/axis2/trunk/c/samples/client/math/math_client.c

Modified: webservices/axis2/trunk/c/samples/client/math/math_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/math/math_client.c?rev=576768&r1=576767&r2=576768&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/math/math_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/math/math_client.c Tue Sep 18 01:14:27 2007
@@ -75,8 +75,13 @@
     node = build_om_programatically(env, operation, param1, param2);
     stub =
         axis2_math_stub_create_with_endpoint_uri_and_client_home(env, address,   client_home);
+        
     /* create node and invoke math */
-    ret_node = axis2_math_stub_add(stub, env, node);
+    if (stub)
+    {
+        ret_node = axis2_math_stub_add(stub, env, node);
+    }
+    
     if (ret_node)
     {
         if (axiom_node_get_node_type(ret_node, env) == AXIOM_ELEMENT)



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