Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 88814 invoked from network); 10 Feb 2006 09:23:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Feb 2006 09:23:12 -0000 Received: (qmail 16365 invoked by uid 500); 10 Feb 2006 09:23:11 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 16333 invoked by uid 500); 10 Feb 2006 09:23:10 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 16322 invoked by uid 500); 10 Feb 2006 09:23:10 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 16319 invoked by uid 99); 10 Feb 2006 09:23:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2006 01:23:10 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 10 Feb 2006 01:23:09 -0800 Received: (qmail 88687 invoked by uid 65534); 10 Feb 2006 09:22:49 -0000 Message-ID: <20060210092249.88673.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r376606 - in /webservices/axis2/trunk/c/modules/core: deployment/module_builder.c phaseresolver/phase_holder.c Date: Fri, 10 Feb 2006 09:22:45 -0000 To: axis2-cvs@ws.apache.org From: samisa@apache.org X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: samisa Date: Fri Feb 10 01:22:42 2006 New Revision: 376606 URL: http://svn.apache.org/viewcvs?rev=376606&view=rev Log: Some fixes to get the addressing module working. Added tracing to help find problems Modified: webservices/axis2/trunk/c/modules/core/deployment/module_builder.c webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c Modified: webservices/axis2/trunk/c/modules/core/deployment/module_builder.c URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/module_builder.c?rev=376606&r1=376605&r2=376606&view=diff ============================================================================== --- webservices/axis2/trunk/c/modules/core/deployment/module_builder.c (original) +++ webservices/axis2/trunk/c/modules/core/deployment/module_builder.c Fri Feb 10 01:22:42 2006 @@ -173,6 +173,8 @@ int i = 0; axis2_status_t status = AXIS2_FAILURE; + AXIS2_LOG_TRACE((*env)->log, AXIS2_LOG_SI, "axis2_module_builder_populate_module start"); + AXIS2_ENV_CHECK(env, AXIS2_FAILURE); builder_impl = AXIS2_INTF_TO_IMPL(module_builder); @@ -195,6 +197,7 @@ module_name = AXIS2_OM_ATTRIBUTE_GET_VALUE(module_name_att, env); if(NULL != module_name && (0 != AXIS2_STRCMP("", module_name))) { + AXIS2_LOG_DEBUG((*env)->log, AXIS2_LOG_SI, "Populate module %s", module_name); axis2_qname_t *qmodule_name = NULL; qmodule_name = axis2_qname_create(env, module_name, NULL, NULL); @@ -211,6 +214,7 @@ file_data = AXIS2_DEP_ENGINE_GET_CURRENT_FILE_ITEM(module_builder-> desc_builder->engine, env); module_name = AXIS2_ARCH_FILE_DATA_GET_MODULE_NAME(file_data, env); + AXIS2_LOG_DEBUG((*env)->log, AXIS2_LOG_SI, "Populate module %s", module_name); module_qname = axis2_qname_create(env, module_name, NULL, NULL); AXIS2_MODULE_DESC_SET_NAME(builder_impl->module_desc, env, module_qname); @@ -365,6 +369,7 @@ op = (axis2_op_t *) AXIS2_ARRAY_LIST_GET(ops, env, i); AXIS2_MODULE_DESC_ADD_OP(builder_impl->module_desc, env, op); } + AXIS2_LOG_TRACE((*env)->log, AXIS2_LOG_SI, "axis2_module_builder_populate_module end"); return AXIS2_SUCCESS; } Modified: webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c?rev=376606&r1=376605&r2=376606&view=diff ============================================================================== --- webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c (original) +++ webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c Fri Feb 10 01:22:42 2006 @@ -201,6 +201,7 @@ axis2_char_t *phase_name = NULL; axis2_status_t status = AXIS2_FAILURE; + AXIS2_LOG_TRACE((*env)->log, AXIS2_LOG_SI, "axis2_phase_holder_add_handler start"); AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK((*env)->error, handler, AXIS2_FAILURE); @@ -213,12 +214,16 @@ phase = axis2_phase_holder_get_phase(phase_holder, env, phase_name); status = AXIS2_PHASE_ADD_HANDLER_DESC(phase, env, handler); + AXIS2_LOG_DEBUG((*env)->log, AXIS2_LOG_SI, "Add handler %s to phase %s", + AXIS2_QNAME_TO_STRING(AXIS2_HANDLER_DESC_GET_QNAME(handler, env), env), phase_name); } else { AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_INVALID_PHASE, AXIS2_FAILURE); - return AXIS2_FAILURE; + status = AXIS2_FAILURE; } + AXIS2_LOG_TRACE((*env)->log, AXIS2_LOG_SI, "axis2_phase_holder_add_handler end status = %s", + status ? "SUCCESS" : "FAILURE"); return status; }