atom feed1 message in org.apache.tuscany.commitssvn commit: r980710 - /tuscany/sca-ja...
FromSent OnAttachments
sla...@apache.orgJul 30, 2010 2:54 am 
Subject:svn commit: r980710 - /tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java
From:sla...@apache.org (sla@apache.org)
Date:Jul 30, 2010 2:54:01 am
List:org.apache.tuscany.commits

Author: slaws Date: Fri Jul 30 09:54:00 2010 New Revision: 980710

URL: http://svn.apache.org/viewvc?rev=980710&view=rev Log: Sometimes the binding name appears to be null. Get it from the actual binding.
Makes BWS_2023, BWS_4005, BWS_4006 work again.

Modified: tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java

Modified:
tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java?rev=980710&r1=980709&r2=980710&view=diff ============================================================================== ---
tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java
(original) +++
tuscany/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingProvider.java
Fri Jul 30 09:54:00 2010 @@ -146,7 +146,7 @@ public class Axis2ReferenceBindingProvid // Validate that the WSDL is not using SOAP v1.2 if
requires="SOAP.v1_1" has been specified if ( isSOAP11Required ) { Definition def = wsBinding.getGeneratedWSDLDocument(); - Binding binding = def.getBinding(wsBinding.getBindingName()); + Binding binding = def.getBinding(wsBinding.getBinding().getQName()); for ( Object ext : binding.getExtensibilityElements() ) { if ( ext instanceof SOAP12Binding ) throw new ServiceRuntimeException("WSDL document is using SOAP v1.2
but SOAP v1.1 " + @@ -157,7 +157,7 @@ public class Axis2ReferenceBindingProvid // Validate that the WSDL is not using SOAP v1.1 if
requires="SOAP.v1_2" has been specified if ( isSOAP12Required ) { Definition def = wsBinding.getGeneratedWSDLDocument(); - Binding binding = def.getBinding(wsBinding.getBindingName()); + Binding binding = def.getBinding(wsBinding.getBinding().getQName()); for ( Object ext : binding.getExtensibilityElements() ) { if ( ext instanceof SOAPBinding ) throw new ServiceRuntimeException("WSDL document is using SOAP v1.1
but SOAP v1.2 " +