summaryrefslogtreecommitdiffstats
path: root/src/core/clientapi
diff options
context:
space:
mode:
authorGravatar shankar2010-03-09 03:31:43 +0000
committerGravatar shankar2010-03-09 03:31:43 +0000
commitb31c0c92e7b148c30f44b100df1ccebf082cfecc (patch)
tree4d4164e6a4c7717d45f91c88101069335fda56ff /src/core/clientapi
parentba8bd0b92037cad5f1153bf75f5a4230c84f9393 (diff)
downloadaxis2c-b31c0c92e7b148c30f44b100df1ccebf082cfecc.tar.gz
axis2c-b31c0c92e7b148c30f44b100df1ccebf082cfecc.tar.bz2
Fixing issue AXIS2C-1351
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@920645 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/clientapi')
-rw-r--r--src/core/clientapi/svc_client.c6
1 files changed, 6 insertions, 0 deletions
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);