From f98e8159640f2e47b17756d2d8433330919e858e Mon Sep 17 00:00:00 2001 From: rfeng Date: Thu, 22 Mar 2012 23:19:17 +0000 Subject: Fix the binding invokers to use endpoint reference's deployed URI (i.e., the target service endpoint address) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1304128 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/binding/jsonrpc/provider/JsonRpcInvoker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org') diff --git a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JsonRpcInvoker.java b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JsonRpcInvoker.java index 713122f479..ca21599b14 100644 --- a/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JsonRpcInvoker.java +++ b/sca-java-2.x/trunk/modules/binding-jsonrpc-runtime/src/main/java/org/apache/tuscany/sca/binding/jsonrpc/provider/JsonRpcInvoker.java @@ -70,7 +70,7 @@ public class JsonRpcInvoker implements Invoker, DataExchangeSemantics { public JsonRpcInvoker(EndpointReference endpointReference, Operation operation, HttpClient httpClient) { this.endpointReference = endpointReference; this.operation = operation; - this.uri = endpointReference.getBinding().getURI(); + this.uri = endpointReference.getDeployedURI(); this.httpClient = httpClient; } -- cgit v1.2.3