axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r662165 - in /webservices/axis2/trunk/c: src/core/clientapi/op_client.c util/include/axutil_property.h
Date Sun, 01 Jun 2008 08:31:07 GMT
Author: damitha
Date: Sun Jun  1 01:31:07 2008
New Revision: 662165

URL: http://svn.apache.org/viewvc?rev=662165&view=rev
Log:
Fixing AXIS2C-1173

Modified:
    webservices/axis2/trunk/c/src/core/clientapi/op_client.c
    webservices/axis2/trunk/c/util/include/axutil_property.h

Modified: webservices/axis2/trunk/c/src/core/clientapi/op_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/clientapi/op_client.c?rev=662165&r1=662164&r2=662165&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/clientapi/op_client.c (original)
+++ webservices/axis2/trunk/c/src/core/clientapi/op_client.c Sun Jun  1 01:31:07 2008
@@ -1214,6 +1214,15 @@
         engine = axis2_engine_create(env, conf_ctx);
         if (engine)
         {
+            property = axis2_msg_ctx_get_property(msg_ctx, env, AXIS2_HANDLER_ALREADY_VISITED);
+            if (property)
+            {
+                axis2_char_t *value = axutil_property_get_value(property, env);
+                if (!axutil_strcmp(AXIS2_VALUE_TRUE, value))
+                {
+                    return response;
+                }
+            }
             status = axis2_engine_receive(engine, env, response);
         }
     }

Modified: webservices/axis2/trunk/c/util/include/axutil_property.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_property.h?rev=662165&r1=662164&r2=662165&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_property.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_property.h Sun Jun  1 01:31:07 2008
@@ -53,6 +53,9 @@
      *              AXIS2_SCOPE_SESSION
      *              AXIS2_SCOPE_APPLICATION
      *              pass 0 to use default scope of AXIS2_SCOPE_REQUEST
+     * @param own_value whether value is owned by the property or not.
+     *              if the value is owned by the property it should be freed
+     *              by the proeprty.
      * @param free_func free function for the value freeing. Pass 0 if
      *              param value is a string
      * @param value value of the property



Mime
View raw message