summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/distribution/tomcat/testing
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-12-09 10:48:53 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-12-09 10:48:53 +0000
commit907a06aea04604c73583d4176ef6bdd261a684a8 (patch)
tree7feb7d076e5b2460354724f1bf00f499bfc6abfd /sca-java-2.x/trunk/distribution/tomcat/testing
parentbf15430eac2af7b4d7b823dbaae97224222daa4b (diff)
Correct the SCACLient call
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@888764 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/distribution/tomcat/testing')
-rw-r--r--sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp
index e8471d3358..337a2a02d9 100644
--- a/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp
+++ b/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp
@@ -19,11 +19,11 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="org.oasisopen.sca.client.SCAClientFactory"%>
-<%@ page import="java.net.URI" %>
<%@ page import="testing.HelloworldService" %>
+<%@ page import="java.net.URI" %>
<%
- HelloworldService service = SCAClientFactory.newInstance().getService(URI.create("vm:default"), "HelloworldComponent");
+ HelloworldService service = SCAClientFactory.newInstance(URI.create("vm:default")).getService(HelloworldService.class, "HelloworldComponent");
%>
<html>