ws-addressing-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject svn commit: r374440 - in /webservices/addressing/trunk/src/org/apache/axis/message/addressing: AddressingHeaders.java handler/AddressingHandler.java
Date Thu, 02 Feb 2006 17:21:14 GMT
Author: gdaniels
Date: Thu Feb  2 09:21:00 2006
New Revision: 374440

URL: http://svn.apache.org/viewcvs?rev=374440&view=rev
Log:
Couple of fixes.  Rely on Action, not To (I think this is OK for both the earlier and the
W3C versions).

Modified:
    webservices/addressing/trunk/src/org/apache/axis/message/addressing/AddressingHeaders.java
    webservices/addressing/trunk/src/org/apache/axis/message/addressing/handler/AddressingHandler.java

Modified: webservices/addressing/trunk/src/org/apache/axis/message/addressing/AddressingHeaders.java
URL: http://svn.apache.org/viewcvs/webservices/addressing/trunk/src/org/apache/axis/message/addressing/AddressingHeaders.java?rev=374440&r1=374439&r2=374440&view=diff
==============================================================================
--- webservices/addressing/trunk/src/org/apache/axis/message/addressing/AddressingHeaders.java
(original)
+++ webservices/addressing/trunk/src/org/apache/axis/message/addressing/AddressingHeaders.java
Thu Feb  2 09:21:00 2006
@@ -247,6 +247,7 @@
                                             null, null);
                     }
                     to = new To(headerElement);
+                } else if (localName.equals(Constants.ACTION)) {
                     // set the WSA namespace URI in the MessageContext,
                     // so we'll know how to serialize types associated
                     // with this request
@@ -257,7 +258,7 @@
                                 Constants.ENV_ADDRESSING_NAMESPACE_URI,
                                 name.getURI());
                     }
-                } else if (localName.equals(Constants.ACTION)) {
+
                     if (action != null) {
                         throw new AxisFault("Client.duplicateActionHeader",
                                             "duplicate Action header",

Modified: webservices/addressing/trunk/src/org/apache/axis/message/addressing/handler/AddressingHandler.java
URL: http://svn.apache.org/viewcvs/webservices/addressing/trunk/src/org/apache/axis/message/addressing/handler/AddressingHandler.java?rev=374440&r1=374439&r2=374440&view=diff
==============================================================================
--- webservices/addressing/trunk/src/org/apache/axis/message/addressing/handler/AddressingHandler.java
(original)
+++ webservices/addressing/trunk/src/org/apache/axis/message/addressing/handler/AddressingHandler.java
Thu Feb  2 09:21:00 2006
@@ -387,11 +387,6 @@
                                   this.allowNonSpecificActions,
                                   this.refPropQNames);
 
-        if (headers.getTo()==null)
-        {
-            // not a WS-A request; let it pass thru w/out doing anything
-            return;
-        }
         if (headers.getAction()==null)
         {
             // should we throw a SOAPFaultException here?



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


Mime
View raw message