axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r367974 - /webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c
Date Wed, 11 Jan 2006 08:44:23 GMT
Author: samisa
Date: Wed Jan 11 00:44:19 2006
New Revision: 367974

URL: http://svn.apache.org/viewcvs?rev=367974&view=rev
Log:
Added more test code

Modified:
    webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c

Modified: webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c?rev=367974&r1=367973&r2=367974&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c (original)
+++ webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c Wed Jan 11 00:44:19 2006
@@ -19,7 +19,8 @@
     struct axis2_conf *conf = NULL;
 	conf = axis2_conf_create(&env);
 	struct axis2_conf_ctx *conf_ctx;
-	struct axis2_msg_ctx *msg_ctx;
+	struct axis2_msg_ctx *msg_ctx = NULL;
+	struct axis2_msg_ctx *msg_ctx_res = NULL;
 	struct axis2_op *op;
 	struct axis2_qname *qname;
 	struct axis2_svc *svc;
@@ -41,7 +42,13 @@
 	svc_ctx = axis2_svc_ctx_create(&env, svc, svc_grp_ctx);
 
 	call = axis2_call_create(&env, svc_ctx);
-	msg_ctx = axis2_call_invoke_blocking(call, &env, op, msg_ctx);
+	msg_ctx_res = axis2_call_invoke_blocking(call, &env, op, msg_ctx);
+
+    if (msg_ctx_res)
+        printf("axis2_test_call_invoke_blocking SUCCESS\n");
+    else
+        printf("axis2_test_call_invoke_blocking FAILURE\n");
+        
 }
 
 int main()



Mime
View raw message