diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-11 20:01:21 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-11 20:01:21 +0000 |
commit | 71a350f58078b9be740e600a9de1dc5cbf2365d7 (patch) | |
tree | 062609c421ce11455d8da1aed5d7d71059ec0fd1 | |
parent | 40ffbfbb4158311eddb33f37b0e560e194ee33b9 (diff) |
Adding code to use full binding uri when provided, otherwise using relative path - note that code is commented out for now
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@752598 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetImplementationInvoker.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetImplementationInvoker.java b/branches/sca-java-1.x/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetImplementationInvoker.java index d9616de359..7d91dcd29b 100644 --- a/branches/sca-java-1.x/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetImplementationInvoker.java +++ b/branches/sca-java-1.x/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetImplementationInvoker.java @@ -231,6 +231,17 @@ class WidgetImplementationInvoker implements Invoker { // be generating proxies that communicate with other hosts (if a proxy needs to // communicate with another host it should be generated on and served by // that particular host) + + /* + URI targetURI = URI.create(binding.getURI()); + String targetPath; + if(targetURI.getScheme() == null) { + targetPath = targetURI.getPath(); + } else { + targetPath = targetURI.toString(); + } + */ + URI targetURI = URI.create(binding.getURI()); String targetPath = targetURI.getPath(); |