axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kausha...@apache.org
Subject svn commit: r467305 - /webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c
Date Tue, 24 Oct 2006 10:59:22 GMT
Author: kaushalye
Date: Tue Oct 24 03:59:21 2006
New Revision: 467305

URL: http://svn.apache.org/viewvc?view=rev&rev=467305
Log:
Modified the way to retireve Out/In flow parameters.
Now we read these from the message ctx. This allows a client (I have PHP in mind) 
to set parameters in any tier of the description hierarchy.

Modified:
    webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c

Modified: webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c?view=diff&rev=467305&r1=467304&r2=467305
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c (original)
+++ webservices/axis2/trunk/c/rampart/src/util/rampart_handler_util.c Tue Oct 24 03:59:21
2006
@@ -106,22 +106,8 @@
 {
 
 
-    axis2_conf_ctx_t *conf_ctx = NULL;
-    axis2_conf_t *conf = NULL;
     axis2_param_t *param = NULL;
-
-    conf_ctx = AXIS2_MSG_CTX_GET_CONF_CTX(msg_ctx, env);
-    if (NULL == conf_ctx)
-    {
-        return NULL;
-    }
-    conf = AXIS2_CONF_CTX_GET_CONF(conf_ctx, env);
-    if (NULL == conf)
-    {
-        return NULL;
-    }
-    param = AXIS2_CONF_GET_PARAM(conf, env, parameter);
-
+    param = AXIS2_MSG_CTX_GET_PARAMETER(msg_ctx, env, parameter);
     return param;
 }
 



---------------------------------------------------------------------
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