summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-ws/src
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-27 08:40:10 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2012-02-27 08:40:10 +0000
commitd02795be7f01806571935f23e4f0b3d3e2a24fe0 (patch)
tree1b30c5c17e0631b0ade23a30e6ad1afc533673e6 /sca-java-2.x/trunk/modules/binding-ws/src
parent5ace64c5050cb200b84544c346da7757590382fa (diff)
TUSCANY-4013 - reset the user specified URL whenever the real URI is reset.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1294065 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java b/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java
index efb3b0fb54..550235dbab 100644
--- a/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java
+++ b/sca-java-2.x/trunk/modules/binding-ws/src/main/java/org/apache/tuscany/sca/binding/ws/impl/WebServiceBindingImpl.java
@@ -116,6 +116,14 @@ class WebServiceBindingImpl implements WebServiceBinding, DefaultingPolicySubjec
public void setURI(String uri) {
this.uri = uri;
+
+ // when the binding is cloned for callback puposes
+ // when the user has not configured a callback binding
+ // we want all the URIs to be null so that the builder
+ // will calculate the correct callback URI
+ if (uri == null){
+ setUserSpecifiedURI(null);
+ }
}
public void setUserSpecifiedURI(String uri) {