diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-20 11:06:33 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-01-20 11:06:33 +0000 |
commit | ab749d1d8d4e7757295f63963ab1175dd54d102d (patch) | |
tree | f1f5e14822b121b9f2b6a8d25b52188d86305841 /sca-java-2.x/trunk/itest/scaclient-api/src/test/java | |
parent | 979778896e1561988b376961e936e37c019022fc (diff) |
Update to use a domain uri as thats required now
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@901128 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/itest/scaclient-api/src/test/java')
-rw-r--r-- | sca-java-2.x/trunk/itest/scaclient-api/src/test/java/test/scaclient/SCAClientTestCase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/itest/scaclient-api/src/test/java/test/scaclient/SCAClientTestCase.java b/sca-java-2.x/trunk/itest/scaclient-api/src/test/java/test/scaclient/SCAClientTestCase.java index 41e8ee43c0..e2bef08415 100644 --- a/sca-java-2.x/trunk/itest/scaclient-api/src/test/java/test/scaclient/SCAClientTestCase.java +++ b/sca-java-2.x/trunk/itest/scaclient-api/src/test/java/test/scaclient/SCAClientTestCase.java @@ -21,6 +21,7 @@ package test.scaclient; import itest.HelloworldService; import junit.framework.TestCase; +import java.net.URI; import org.apache.tuscany.sca.node.Node; import org.apache.tuscany.sca.node.NodeFactory; @@ -43,7 +44,7 @@ public class SCAClientTestCase extends TestCase { public void testInvoke() throws Exception { HelloworldService service = - SCAClientFactory.newInstance(null).getService(HelloworldService.class, "HelloworldComponent"); + SCAClientFactory.newInstance(URI.create("http://tuscany.apache.org/sca/1.1/domains/default")).getService(HelloworldService.class, "HelloworldComponent"); assertEquals("Hello petra", service.sayHello("petra")); } |