axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kei...@apache.org
Subject svn commit: r603286 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisBinding.java
Date Tue, 11 Dec 2007 16:16:32 GMT
Author: keithc
Date: Tue Dec 11 08:16:31 2007
New Revision: 603286

URL: http://svn.apache.org/viewvc?rev=603286&view=rev
Log:
fixing getProperty method to return null if the SOAP version of a HTTPBinding is accessed
 

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisBinding.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisBinding.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisBinding.java?rev=603286&r1=603285&r2=603286&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisBinding.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisBinding.java
Tue Dec 11 08:16:31 2007
@@ -76,6 +76,12 @@
             return obj;
         }
 
+        // need this here to guarantee that we dont return a SOAP version for HTTP Bindings
+        if (WSDL2Constants.ATTR_WSOAP_VERSION.equals(name) &&
+                WSDL2Constants.URI_WSDL2_HTTP.equals(type)) {
+            return null;
+        }
+
         obj = WSDL20DefaultValueHolder.getDefaultValue(name);
 
         return obj;



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