You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2010/04/22 22:30:38 UTC

svn commit: r937047 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java

Author: veithen
Date: Thu Apr 22 20:30:37 2010
New Revision: 937047

URL: http://svn.apache.org/viewvc?rev=937047&view=rev
Log:
AXIS2-4554: Fixed AxisService2WSDL11 to set the correct value for the wsdl:required attribute of the wsaw:UsingAddressing element. Thanks to Dave Bryant and Nuwan Bandara for looking at this issue.

Modified:
    axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java

Modified: axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java?rev=937047&r1=937046&r2=937047&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java (original)
+++ axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisService2WSDL11.java Thu Apr 22 20:30:37 2010
@@ -770,7 +770,7 @@ public class AxisService2WSDL11 implemen
 						AddressingConstants.ADDRESSING_OPTIONAL)) {
 			WSDLSerializationUtil.addExtensionElement(fac, binding,
 					AddressingConstants.USING_ADDRESSING,
-					DEFAULT_WSDL_NAMESPACE_PREFIX + ":required", "true", wsaw);
+					DEFAULT_WSDL_NAMESPACE_PREFIX + ":required", "false", wsaw);
 		} else if (AddressingHelper.getAddressingRequirementParemeterValue(
 				axisService).equals(AddressingConstants.ADDRESSING_REQUIRED)) {
 			WSDLSerializationUtil.addExtensionElement(fac, binding,
@@ -911,7 +911,7 @@ public class AxisService2WSDL11 implemen
 						AddressingConstants.ADDRESSING_OPTIONAL)) {
 			WSDLSerializationUtil.addExtensionElement(fac, binding,
 					AddressingConstants.USING_ADDRESSING,
-					DEFAULT_WSDL_NAMESPACE_PREFIX + ":required", "true", wsaw);
+					DEFAULT_WSDL_NAMESPACE_PREFIX + ":required", "false", wsaw);
 		} else if (AddressingHelper.getAddressingRequirementParemeterValue(
 				axisService).equals(AddressingConstants.ADDRESSING_REQUIRED)) {
 			WSDLSerializationUtil.addExtensionElement(fac, binding,