diff options
Diffstat (limited to '')
2 files changed, 1 insertions, 15 deletions
diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java index 44dbeda11f..219b67edff 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointImpl.java @@ -500,14 +500,7 @@ public class RuntimeEndpointImpl extends EndpointImpl implements RuntimeEndpoint boolean bindingHasCallback = bindingContract.getCallbackInterface() != null; - try { -/* - interfaceContractMapper.checkCompatibility(getGeneratedWSDLContract(serviceContract), - getGeneratedWSDLContract(bindingContract), - Compatibility.SUBSET, - !bindingHasCallback, // ignore callbacks if binding doesn't have one - false); -*/ + try { // Use the normalized contract if the interface types are different or if // a normalized contract has been previously generate, for example, by virtue diff --git a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointReferenceImpl.java b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointReferenceImpl.java index 5f5bbb19ce..0277c37962 100644 --- a/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointReferenceImpl.java +++ b/sca-java-2.x/trunk/modules/core/src/main/java/org/apache/tuscany/sca/core/assembly/impl/RuntimeEndpointReferenceImpl.java @@ -329,13 +329,6 @@ public class RuntimeEndpointReferenceImpl extends EndpointReferenceImpl implemen boolean bindingHasCallback = bindingContract.getCallbackInterface() != null; try { -/* - interfaceContractMapper.checkCompatibility(getGeneratedWSDLContract(referenceContract), - getGeneratedWSDLContract(bindingContract), - Compatibility.SUBSET, - !bindingHasCallback, // ignore callbacks if binding doesn't have one - false); -*/ // Use the normalized contract if the interface types are different or if // a normalized contract has been previously generate, for example, by virtue // of finding a JAXWS annotation on a Java class that references a WSDL file |