Widget references URI not properly initialized in a distributed environment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@678948 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bf3384faf9
commit
d1d6635301
1 changed files with 2 additions and 5 deletions
|
@ -222,14 +222,11 @@ class WidgetImplementationInvoker implements Invoker {
|
|||
if (binding instanceof OptimizableBinding) {
|
||||
Binding targetBinding = ((OptimizableBinding)binding).getTargetBinding();
|
||||
if (targetBinding != null) {
|
||||
targetURI = URI.create(targetBinding.getURI()).getPath();
|
||||
targetURI = targetBinding.getURI();
|
||||
}
|
||||
}
|
||||
if (targetURI == null) {
|
||||
targetURI = URI.create(binding.getURI()).getPath();
|
||||
if (!targetURI.startsWith("/")) {
|
||||
targetURI = "/" + targetURI;
|
||||
}
|
||||
targetURI = binding.getURI();
|
||||
}
|
||||
|
||||
if(proxyClient.equals("JSONRpcClient")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue