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/10/08 17:33:39 UTC

svn commit: r454161 - in /webservices/axis2/trunk/c/modules: core/util/core_utils.c mod_addr/addr_in_handler.c

Author: samisa
Date: Sun Oct  8 08:33:39 2006
New Revision: 454161

URL: http://svn.apache.org/viewvc?view=rev&rev=454161
Log:
Few updates to get WSA addressing submission working correctly

Modified:
    webservices/axis2/trunk/c/modules/core/util/core_utils.c
    webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c

Modified: webservices/axis2/trunk/c/modules/core/util/core_utils.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/util/core_utils.c?view=diff&rev=454161&r1=454160&r2=454161
==============================================================================
--- webservices/axis2/trunk/c/modules/core/util/core_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/util/core_utils.c Sun Oct  8 08:33:39 2006
@@ -149,6 +149,15 @@
         property = NULL;
     }
 
+    property = AXIS2_MSG_CTX_GET_PROPERTY(in_msg_ctx, env,
+            AXIS2_WSA_VERSION, AXIS2_FALSE);
+    if (property)
+    {
+        AXIS2_MSG_CTX_SET_PROPERTY(new_msg_ctx, env,
+                AXIS2_WSA_VERSION, property, AXIS2_FALSE);
+        property = NULL;
+    }
+
     doing_rest = AXIS2_MSG_CTX_GET_DOING_REST(in_msg_ctx, env);
     AXIS2_MSG_CTX_SET_DOING_REST(new_msg_ctx, env, doing_rest);
 
@@ -192,6 +201,8 @@
             NULL, AXIS2_FALSE);
     AXIS2_MSG_CTX_SET_PROPERTY(out_msg_ctx, env, AXIS2_CHARACTER_SET_ENCODING,
             NULL, AXIS2_FALSE);
+    AXIS2_MSG_CTX_SET_PROPERTY(out_msg_ctx, env, AXIS2_WSA_VERSION, NULL,
+            AXIS2_FALSE);
 
     AXIS2_MSG_CTX_SET_SVC_GRP_CTX(out_msg_ctx, env, NULL);
 

Modified: webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c?view=diff&rev=454161&r1=454160&r2=454161
==============================================================================
--- webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c (original)
+++ webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c Sun Oct  8 08:33:39 2006
@@ -178,7 +178,7 @@
                 property = axis2_property_create(env);
                 AXIS2_PROPERTY_SET_SCOPE(property, env, AXIS2_SCOPE_REQUEST);
                 AXIS2_PROPERTY_SET_VALUE(property, env, addr_ns_str);
-                AXIS2_CTX_SET_PROPERTY(ctx, env, AXIS2_WSA_VERSION, property, AXIS2_TRUE);
+                AXIS2_CTX_SET_PROPERTY(ctx, env, AXIS2_WSA_VERSION, property, AXIS2_FALSE);
             }
 
             /* extract service group context, if available */



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org