diff options
Diffstat (limited to 'branches/sca-java-1.x/samples')
5 files changed, 7 insertions, 7 deletions
diff --git a/branches/sca-java-1.x/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java b/branches/sca-java-1.x/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java index ab05516622..dbc047ee77 100644 --- a/branches/sca-java-1.x/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java +++ b/branches/sca-java-1.x/samples/binding-echo-extension/src/test/java/echo/EchoServiceTestCase.java @@ -42,7 +42,7 @@ public class EchoServiceTestCase extends TestCase { } public void testEchoBinding() throws Exception { - String result = EchoServer.getServer().sendReceive("http://tempuri.org", "foo"); + String result = EchoServer.getServer().sendReceive("http://example.com/temp", "foo"); assertEquals(result, "oof"); } diff --git a/branches/sca-java-1.x/samples/binding-echo-extension/src/test/resources/EchoBinding.composite b/branches/sca-java-1.x/samples/binding-echo-extension/src/test/resources/EchoBinding.composite index 176d67cc4b..456dfbd94d 100644 --- a/branches/sca-java-1.x/samples/binding-echo-extension/src/test/resources/EchoBinding.composite +++ b/branches/sca-java-1.x/samples/binding-echo-extension/src/test/resources/EchoBinding.composite @@ -28,7 +28,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"> @@ -37,7 +37,7 @@ <reference name="EchoReference" promote="EchoComponent/echoReference"> <interface.java interface="echo.Echo"/> - <e:binding.echo uri="http://tempuri.org" policySets="t:EncryptionPolicy" /> + <e:binding.echo uri="http://example.com/temp" policySets="t:EncryptionPolicy" /> </reference> </composite> 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"); } } |