From dd855ef3477d14d9c2f63ac8eea1a00a474ce1d4 Mon Sep 17 00:00:00 2001 From: lresende Date: Fri, 24 Oct 2008 22:32:21 +0000 Subject: Fixing issue where JSON-RPC binding was not being concatenated to generated java script proxy and was causing catalog.get is not a function when running store sample. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@707769 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/implementation/widget/provider/WidgetProxyHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/sca/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetProxyHelper.java b/java/sca/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetProxyHelper.java index 96fe097a1f..c7093042d6 100644 --- a/java/sca/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetProxyHelper.java +++ b/java/sca/modules/implementation-widget-runtime/src/main/java/org/apache/tuscany/sca/implementation/widget/provider/WidgetProxyHelper.java @@ -33,9 +33,9 @@ class WidgetProxyHelper { static { proxyFileRegistry.put("org.apache.tuscany.sca.binding.atom.impl.AtomBindingImpl", new String[]{ "binding-atom.js", "atomModel.js"}); proxyClient.put("org.apache.tuscany.sca.binding.atom.impl.AtomBindingImpl", "AtomClient"); - - proxyFileRegistry.put("org.apache.tuscany.sca.binding.jsonrpc.JSONRPCBinding", new String[]{"binding-jsonrpc.js"}); - proxyClient.put("org.apache.tuscany.sca.binding.jsonrpc.JSONRPCBinding", "JSONRpcClient"); + + proxyFileRegistry.put("org.apache.tuscany.sca.binding.jsonrpc.impl.JSONRPCBindingImpl", new String[]{"binding-jsonrpc.js"}); + proxyClient.put("org.apache.tuscany.sca.binding.jsonrpc.impl.JSONRPCBindingImpl", "JSONRpcClient"); proxyFileRegistry.put("org.apache.tuscany.sca.binding.http.impl.HTTPBindingImpl", new String[]{"binding-http.js"}); proxyClient.put("org.apache.tuscany.sca.binding.http.impl.HTTPBindingImpl", "HTTPClient"); -- cgit v1.2.3