axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r577204 - /webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c
Date Wed, 19 Sep 2007 08:54:10 GMT
Author: samisa
Date: Wed Sep 19 01:54:09 2007
New Revision: 577204

URL: http://svn.apache.org/viewvc?rev=577204&view=rev
Log:
Fixed the addressing namespace checking logic

Modified:
    webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c

Modified: webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c?rev=577204&r1=577203&r2=577204&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c (original)
+++ webservices/axis2/trunk/c/src/modules/mod_addr/addr_out_handler.c Wed Sep 19 01:54:09
2007
@@ -147,10 +147,15 @@
         {
             addr_ns = AXIS2_WSA_NAMESPACE;
         }
-        else
+        else if(axutil_strcmp
+                (AXIS2_WSA_NAMESPACE_SUBMISSION, addressing_version_from_msg_ctx) == 0)
         {
             addr_ns = AXIS2_WSA_NAMESPACE_SUBMISSION;
         }
+        else
+        {
+            addr_ns = AXIS2_WSA_NAMESPACE;
+        }
     }
     else if ( axis2_msg_ctx_get_op_ctx(msg_ctx, env))
     {
@@ -166,7 +171,7 @@
 
         if (!in_msg_ctx)
         {
-            addr_ns = AXIS2_WSA_NAMESPACE;   /* setting Submission version as the default
addressing namespace */
+            addr_ns = AXIS2_WSA_NAMESPACE;   /* setting version 1.0 as the default addressing
namespace */
         }
         else
         {



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