From b31c0c92e7b148c30f44b100df1ccebf082cfecc Mon Sep 17 00:00:00 2001 From: shankar Date: Tue, 9 Mar 2010 03:31:43 +0000 Subject: Fixing issue AXIS2C-1351 git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@920645 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/clientapi/svc_client.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/core/clientapi/svc_client.c b/src/core/clientapi/svc_client.c index d25f340..7e41a0a 100644 --- a/src/core/clientapi/svc_client.c +++ b/src/core/clientapi/svc_client.c @@ -1079,6 +1079,7 @@ axis2_svc_client_create_annonymous_svc( tmp_qname = axutil_qname_create(env, AXIS2_ANON_SERVICE, NULL, NULL); if(!tmp_qname) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,"Error creating QName for service"); return NULL; } @@ -1086,12 +1087,14 @@ axis2_svc_client_create_annonymous_svc( axutil_qname_free(tmp_qname, env); if(!svc) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error creating the service"); return NULL; } tmp_qname = axutil_qname_create(env, AXIS2_ANON_OUT_IN_OP, NULL, NULL); if(!tmp_qname) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error creating the QName for out-in operation"); return NULL; } op_out_in = axis2_op_create_with_qname(env, tmp_qname); @@ -1100,6 +1103,7 @@ axis2_svc_client_create_annonymous_svc( tmp_qname = axutil_qname_create(env, AXIS2_ANON_OUT_ONLY_OP, NULL, NULL); if(!tmp_qname) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error creating the QName for out-only operation"); return NULL; } op_out_only = axis2_op_create_with_qname(env, tmp_qname); @@ -1108,6 +1112,8 @@ axis2_svc_client_create_annonymous_svc( tmp_qname = axutil_qname_create(env, AXIS2_ANON_ROBUST_OUT_ONLY_OP, NULL, NULL); if(!tmp_qname) { + AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, + "Error creating the QName for robust-out-only operation"); return NULL; } op_robust_out_only = axis2_op_create_with_qname(env, tmp_qname); -- cgit v1.1-32-gdbae