You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/06/27 20:34:50 UTC
svn commit: r417549 -
/webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
Author: samisa
Date: Tue Jun 27 11:34:49 2006
New Revision: 417549
URL: http://svn.apache.org/viewvc?rev=417549&view=rev
Log:
Fixed the error reporting to include the service name
Modified:
webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
Modified: webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c?rev=417549&r1=417548&r2=417549&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c Tue Jun 27 11:34:49 2006
@@ -96,9 +96,22 @@
if (!svc_obj)
{
+ const axis2_char_t *svc_name = NULL;
+ axis2_svc_t *svc = AXIS2_MSG_CTX_GET_SVC(msg_ctx, env);
+
+ if (svc)
+ {
+ svc_name = AXIS2_SVC_GET_NAME(svc, env);
+ }
+ else
+ {
+ svc_name = "unknown";
+ }
+
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
- "Impl object for service not set in message receiver"
- " %d :: %s", env->error->error_number,
+ "Impl object for service '%s' not set in message receiver. %d :: %s",
+ svc_name,
+ env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
status = AXIS2_FAILURE;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org