From 71a350f58078b9be740e600a9de1dc5cbf2365d7 Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 11 Mar 2009 20:01:21 +0000 Subject: 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 --- .../widget/provider/WidgetImplementationInvoker.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'branches/sca-java-1.x/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca') 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(); -- cgit v1.2.3