Author: keithc Date: Tue Dec 11 08:17:25 2007 New Revision: 603287 URL: http://svn.apache.org/viewvc?rev=603287&view=rev Log: Fixing ?wsdl2 (The dissableSOAP12 parameter was not checked incorrectly) to show all bindings by default
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL20.java Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL20.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL20.java?rev=603287&r1=603286&r2=603287&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL20.java (original) +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL20.java Tue Dec 11 08:17:25 2007 @@ -239,8 +239,8 @@ // If SOAP 1.2 binding is disabled, do not add. String propertySOAPVersion = (String)axisBinding.getProperty(WSDL2Constants.ATTR_WSOAP_VERSION); - if (propertySOAPVersion != null) { - if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(propertySOAPVersion)) { + if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(propertySOAPVersion)) { + if (disableSOAP12) { continue; } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]