axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r756357 - /webservices/axis2/trunk/c/src/core/receivers/msg_recv.c
Date Fri, 20 Mar 2009 07:25:26 GMT
Author: shankar
Date: Fri Mar 20 07:25:24 2009
New Revision: 756357

URL: http://svn.apache.org/viewvc?rev=756357&view=rev
Log:
fixing message receiver loading issue

Modified:
    webservices/axis2/trunk/c/src/core/receivers/msg_recv.c

Modified: webservices/axis2/trunk/c/src/core/receivers/msg_recv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/receivers/msg_recv.c?rev=756357&r1=756356&r2=756357&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/receivers/msg_recv.c (original)
+++ webservices/axis2/trunk/c/src/core/receivers/msg_recv.c Fri Mar 20 07:25:24 2009
@@ -536,5 +536,13 @@
 	 const axutil_env_t *env,
 	 struct axis2_svc *svc)
 {
-	return msg_recv->load_and_init_svc(msg_recv, env, svc);
+    if(msg_recv->load_and_init_svc)
+    {
+	    return msg_recv->load_and_init_svc(msg_recv, env, svc);
+    }
+    else
+    {
+        /* message receivers without physical service (e.g : programatical service injection)
*/
+        return AXIS2_SUCCESS;
+    }
 }



Mime
View raw message