diff options
Diffstat (limited to 'sca-java-2.x')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java b/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java index c87779d58d..d1af962846 100644 --- a/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java +++ b/sca-java-2.x/trunk/modules/binding-sca-runtime/src/main/java/org/apache/tuscany/sca/binding/sca/provider/DefaultSCABindingMapper.java @@ -161,7 +161,8 @@ public class DefaultSCABindingMapper implements SCABindingMapper { return null; } - // create a copy of the endpoint but with the web service binding in + // create a copy of the endpoint ready to set the remote binding. The original endpoint + // retains binding.sca RuntimeEndpoint ep = null; try { ep = (RuntimeEndpoint)endpoint.clone(); @@ -185,7 +186,8 @@ public class DefaultSCABindingMapper implements SCABindingMapper { return null; } - // create a copy of the endpoint but with the web service binding in + // create a copy of the endpoint reference ready to set the remote binding. The original + // endpoint reference reatins binding.sca RuntimeEndpointReference epr = null; try { epr = (RuntimeEndpointReference)endpointReference.clone(); |