geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1102697 - /geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/jaxws/addressing/policy/AddressingPolicyUtil.java
Date Fri, 13 May 2011 12:34:53 GMT
Author: xuhaihong
Date: Fri May 13 12:34:52 2011
New Revision: 1102697

URL: http://svn.apache.org/viewvc?rev=1102697&view=rev
Log:
AXIS2-5022 Support addressing meta data with policy 1.5 framework, Fix a typo error.

Modified:
    geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/jaxws/addressing/policy/AddressingPolicyUtil.java

Modified: geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/jaxws/addressing/policy/AddressingPolicyUtil.java
URL: http://svn.apache.org/viewvc/geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/jaxws/addressing/policy/AddressingPolicyUtil.java?rev=1102697&r1=1102696&r2=1102697&view=diff
==============================================================================
--- geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/jaxws/addressing/policy/AddressingPolicyUtil.java
(original)
+++ geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/jaxws/addressing/policy/AddressingPolicyUtil.java
Fri May 13 12:34:52 2011
@@ -50,7 +50,7 @@ public class AddressingPolicyUtil {
         boolean addressingPolicyConfigured = false;
         boolean anonymousResponsesSupported = false;
         boolean nonAnonymousResponsesSupported = false;
-        boolean addressingOptional = false;
+        boolean addressingOptional = false;        
         for (Iterator<List<Assertion>> it = policy.getAlternatives(); it.hasNext();)
{
             for (Assertion assertion : it.next()) {
                 if (!assertion.getName().equals(AddressingConstants.ADDRESSING_QNAME)) {
@@ -66,7 +66,7 @@ public class AddressingPolicyUtil {
                     if (responsesPolicy == null) {
                         continue;
                     }
-                    for (Iterator<List<Assertion>> responsesIt = policy.getAlternatives();
responsesIt.hasNext();) {
+                    for (Iterator<List<Assertion>> responsesIt = responsesPolicy.getAlternatives();
responsesIt.hasNext();) {
                         for (Assertion responsesAssertion : responsesIt.next()) {
                             if (responsesAssertion.getName().equals(AddressingConstants.ANONYMOUSRESPONSES_QNAME))
{
                                 anonymousResponsesSupported = true;



Mime
View raw message