diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-17 19:16:15 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-17 19:16:15 +0000 |
commit | cfb39602a8bf97742fc1c45f8ec3250c16c9364a (patch) | |
tree | ca348276d9c38ce9b51bec9098903aa455b8ad45 /branches/sca-java-1.x/samples/binding-echo/src | |
parent | 5c388638dd34050cf13bb62cd9b8551292cc4e79 (diff) |
Fix for TUSCANY-2854: remove the use of "tempuri.org"
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@745197 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/samples/binding-echo/src')
3 files changed, 4 insertions, 4 deletions
diff --git a/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoBindingClient.java b/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoBindingClient.java index 21bdff4011..0a767ee1f1 100644 --- a/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoBindingClient.java +++ b/branches/sca-java-1.x/samples/binding-echo/src/main/java/echo/EchoBindingClient.java @@ -41,7 +41,7 @@ public class EchoBindingClient { // Call the echo server. This will dispatch the call to a service with an // echo binding. The echo binding will pass the call to the echo component. - echoString = EchoServer.getServer().sendReceive("http://tempuri.org", "bar"); + echoString = EchoServer.getServer().sendReceive("http://example.com/temp", "bar"); System.out.println("Echo service = " + echoString ); scaDomain.close(); diff --git a/branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite b/branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite index 94612fb325..b42d482912 100644 --- a/branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite +++ b/branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite @@ -25,7 +25,7 @@ <service name="EchoService" promote="EchoComponent">
<interface.java interface="echo.Echo"/>
- <e:binding.echo uri="http://tempuri.org" />
+ <e:binding.echo uri="http://example.com/temp" />
</service>
<component name="EchoComponent">
@@ -34,7 +34,7 @@ <reference name="EchoReference" promote="EchoComponent/echoReference">
<interface.java interface="echo.Echo"/>
- <e:binding.echo uri="http://tempuri.org" />
+ <e:binding.echo uri="http://example.com/temp" />
</reference>
</composite>
diff --git a/branches/sca-java-1.x/samples/binding-echo/src/test/java/echo/EchoBindingTestCase.java b/branches/sca-java-1.x/samples/binding-echo/src/test/java/echo/EchoBindingTestCase.java index 1a597fc80f..0f4961d3fd 100644 --- a/branches/sca-java-1.x/samples/binding-echo/src/test/java/echo/EchoBindingTestCase.java +++ b/branches/sca-java-1.x/samples/binding-echo/src/test/java/echo/EchoBindingTestCase.java @@ -51,7 +51,7 @@ public class EchoBindingTestCase extends TestCase { public void testService() throws Exception { // Call the echo server. This will dispatch the call to a service with an // echo binding. The echo binding will pass the call to the echo component. - String echoString = EchoServer.getServer().sendReceive("http://tempuri.org", "bar"); + String echoString = EchoServer.getServer().sendReceive("http://example.com/temp", "bar"); assertEquals(echoString, "bar"); } } |