cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1094937 - /cxf/branches/2.3.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/MAPAggregator.java
Date Tue, 19 Apr 2011 08:53:35 GMT
Author: ema
Date: Tue Apr 19 08:53:34 2011
New Revision: 1094937

URL: http://svn.apache.org/viewvc?rev=1094937&view=rev
Log:
Merged revisions 1094927 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1094927 | ema | 2011-04-19 16:42:30 +0800 (Tue, 19 Apr 2011) | 1 line
  
  [CXF-3458]:AddressingFeature required Client should throw exception when the wsa header
is missing in the inbound message
........

Modified:
    cxf/branches/2.3.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/MAPAggregator.java

Modified: cxf/branches/2.3.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/MAPAggregator.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/MAPAggregator.java?rev=1094937&r1=1094936&r2=1094937&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/MAPAggregator.java
(original)
+++ cxf/branches/2.3.x-fixes/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/MAPAggregator.java
Tue Apr 19 08:53:34 2011
@@ -607,8 +607,10 @@ public class MAPAggregator extends Abstr
                         MetadataConstants.USING_ADDRESSING_2006_QNAME
                     };
                     for (QName type : types) {
-                        if (aim.containsKey(type) && aim.get(type).size() > 0)
{
-                            missingWsaHeader = false;
+                        for (AssertionInfo assertInfo : aim.getAssertionInfo(type)) {
+                            if (assertInfo.isAsserted()) {
+                                missingWsaHeader = false;
+                            }
                         }
                     }
                 }



Mime
View raw message