You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ka...@apache.org on 2008/03/19 14:49:54 UTC
svn commit: r638832 -
/webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c
Author: kaushalye
Date: Wed Mar 19 06:49:08 2008
New Revision: 638832
URL: http://svn.apache.org/viewvc?rev=638832&view=rev
Log:
Axis2C hackathon: adding debug messages where useful
Modified:
webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c
Modified: webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c?rev=638832&r1=638831&r2=638832&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c (original)
+++ webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c Wed Mar 19 06:49:08 2008
@@ -110,6 +110,8 @@
soap_envelope = axis2_msg_ctx_get_soap_envelope(msg_ctx, env);
if (!soap_envelope)
{
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "No SOAP envelope. Stop processing addressing");
return AXIS2_SUCCESS; /* Can happen in case of ONE-WAY services/clients */
}
@@ -121,11 +123,15 @@
}
else
{
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "No addressing in use");
return AXIS2_SUCCESS; /* No addressing in use */
}
if (!wsa_action || !*wsa_action)
{
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "No action present. Stop processing addressing");
return AXIS2_SUCCESS; /* If no action present, assume no addressing in use */
}
@@ -185,6 +191,8 @@
soap_header = axiom_soap_envelope_get_header(soap_envelope, env);
if (!soap_header)
{
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "No SOAP header. Stop processing addressing");
return AXIS2_SUCCESS; /* No SOAP header, so no point proceeding */
}
else
@@ -661,11 +669,6 @@
dec_ns = axiom_element_find_declared_namespace(address_ele, env,
addr_ns,
AXIS2_WSA_DEFAULT_PREFIX);
- /*if (! dec_ns)
- {
- axiom_namespace_free(addr_ns_obj, env);
- addr_ns_obj = NULL;
- } */
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org