axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r597031 - /webservices/axis2/trunk/c/src/core/description/op.c
Date Wed, 21 Nov 2007 10:47:23 GMT
Author: damitha
Date: Wed Nov 21 02:47:23 2007
New Revision: 597031

URL: http://svn.apache.org/viewvc?rev=597031&view=rev
Log: (empty)

Modified:
    webservices/axis2/trunk/c/src/core/description/op.c

Modified: webservices/axis2/trunk/c/src/core/description/op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/description/op.c?rev=597031&r1=597030&r2=597031&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/description/op.c (original)
+++ webservices/axis2/trunk/c/src/core/description/op.c Wed Nov 21 02:47:23 2007
@@ -282,6 +282,8 @@
     param_name = axutil_param_get_name(param, env);
     if (AXIS2_TRUE == axis2_op_is_param_locked(op, env, param_name))
     {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+            "[axis2]Parameter %s is locked, cannot override", param_name);
         AXIS2_ERROR_SET(env->error,
             AXIS2_ERROR_PARAMETER_LOCKED_CANNOT_OVERRIDE, AXIS2_FAILURE);
         return AXIS2_FAILURE;
@@ -712,6 +714,9 @@
 
     if (temp == AXIS2_MEP_CONSTANT_INVALID)
     {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+            "Could not map the MEP URI %s to an Axis2/C MEP constant value", 
+                axis2_op_get_msg_exchange_pattern(op, env));
         AXIS2_ERROR_SET(env->error,
             AXIS2_ERROR_COULD_NOT_MAP_MEP_URI_TO_MEP_CONSTANT, AXIS2_FAILURE);
         return AXIS2_FAILURE;
@@ -931,6 +936,8 @@
         op_ctx = axis2_conf_ctx_get_op_ctx(conf_ctx, env, value);
         if (!op_ctx)
         {
+            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+                "Cannot correlate message to %s", value);
             AXIS2_ERROR_SET(env->error, AXIS2_ERROR_CANNOT_CORRELATE_MSG,
                 AXIS2_FAILURE);
             return NULL;
@@ -982,6 +989,8 @@
 
         if (!op_ctx)
         {
+            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+                "[axis2]Cannot correlate message to %s", value);
             AXIS2_ERROR_SET(env->error, AXIS2_ERROR_CANNOT_CORRELATE_MSG,
                 AXIS2_FAILURE);
             return NULL;
@@ -1056,6 +1065,10 @@
     }
     else
     {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+            "[axis2]Invalid message; adding operation context for the "\
+            "operation :%s is already completed", 
+            axutil_qname_get_localpart(axis2_op_get_qname(op, env), env));
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_MESSAGE_ADDITION,
                         AXIS2_FAILURE);
         return AXIS2_FAILURE;
@@ -1083,6 +1096,10 @@
     }
     else
     {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+            "[axis2]Invalid message; adding operation context for the "\
+            "operation :%s is already completed", 
+            axutil_qname_get_localpart(axis2_op_get_qname(op, env), env));
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_MESSAGE_ADDITION,
             AXIS2_FAILURE);
         return AXIS2_FAILURE;
@@ -1111,6 +1128,10 @@
 
     if (in_msg_ctx && NULL != out_msg_ctx)
     {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+            "[axis2]Invalid message; adding operation context for the "\
+            "operation :%s is invalid", 
+            axutil_qname_get_localpart(axis2_op_get_qname(op, env), env));
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_MESSAGE_ADDITION,
             AXIS2_FAILURE);
         return AXIS2_FAILURE;
@@ -1146,6 +1167,10 @@
     out_msg_ctx = mep[AXIS2_WSDL_MESSAGE_LABEL_OUT];
     if (in_msg_ctx && NULL != out_msg_ctx)
     {
+        AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, 
+            "[axis2]Invalid message; adding operation context for the "\
+            "operation :%s is invalid", 
+            axutil_qname_get_localpart(axis2_op_get_qname(op, env), env));
         AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_MESSAGE_ADDITION,
             AXIS2_FAILURE);
         return AXIS2_FAILURE;



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


Mime
View raw message