geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1097466 - /geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Date Thu, 28 Apr 2011 14:11:16 GMT
Author: xuhaihong
Date: Thu Apr 28 14:11:16 2011
New Revision: 1097466

URL: http://svn.apache.org/viewvc?rev=1097466&view=rev
Log:
Use the method from Neethi to determine whether current extension element is a Policy element

Modified:
    geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java

Modified: geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?rev=1097466&r1=1097465&r2=1097466&view=diff
==============================================================================
--- geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
(original)
+++ geronimo/bundles/trunk/axis2/src/main/java/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Thu Apr 28 14:11:16 2011
@@ -3103,7 +3103,7 @@ public class WSDL11ToAxisServiceBuilder 
 
             if (extElement instanceof UnknownExtensibilityElement) {
                 unknown = (UnknownExtensibilityElement) extElement;
-                if (WSDLConstants.WSDL11Constants.POLICY.equals(unknown.getElementType()))
{
+                if (Constants.isPolicyElement(unknown.getElementType())) {
 
                     policy = (Policy) PolicyUtil.getPolicyComponent(unknown.getElement());
                     String key;



Mime
View raw message