diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-10-14 09:29:40 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-10-14 09:29:40 +0000 |
commit | c7fdc82a82af045b591d02bfa9d39f26d28ad4e5 (patch) | |
tree | 7e3e56bd66cfc552606883979c8e592212a20063 /sca-java-2.x/trunk/modules/builder | |
parent | c2cf3b4fcff6130fb37c2fe239e074a19ebdc3f8 (diff) |
Ensure the old normalized wsdl contract isn't left in the cloned contract
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1183260 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/builder')
-rw-r--r-- | sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentBuilderImpl.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentBuilderImpl.java b/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentBuilderImpl.java index c1796c3ca2..2d22c2effe 100644 --- a/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentBuilderImpl.java +++ b/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/ComponentBuilderImpl.java @@ -1187,6 +1187,7 @@ public class ComponentBuilderImpl { InterfaceContract contract = (InterfaceContract)service.getInterfaceContract().clone(); contract.setInterface(contract.getCallbackInterface()); contract.setCallbackInterface(null); + contract.setNormalizedWSDLContract(null); callbackReference.setInterfaceContract(contract); } catch (CloneNotSupportedException e) { // will not happen @@ -1244,6 +1245,7 @@ public class ComponentBuilderImpl { InterfaceContract implContract = (InterfaceContract)implService.getInterfaceContract().clone(); implContract.setInterface(implContract.getCallbackInterface()); implContract.setCallbackInterface(null); + implContract.setNormalizedWSDLContract(null); implReference.setInterfaceContract(implContract); } catch (CloneNotSupportedException e) { // will not happen @@ -1302,6 +1304,7 @@ public class ComponentBuilderImpl { InterfaceContract contract = (InterfaceContract)reference.getInterfaceContract().clone(); contract.setInterface(contract.getCallbackInterface()); contract.setCallbackInterface(null); + contract.setNormalizedWSDLContract(null); callbackService.setInterfaceContract(contract); } catch (CloneNotSupportedException e) { // will not happen @@ -1359,6 +1362,7 @@ public class ComponentBuilderImpl { InterfaceContract implContract = (InterfaceContract)implReference.getInterfaceContract().clone(); implContract.setInterface(implContract.getCallbackInterface()); implContract.setCallbackInterface(null); + implContract.setNormalizedWSDLContract(null); implService.setInterfaceContract(implContract); } catch (CloneNotSupportedException e) { // will not happen |