From 907a06aea04604c73583d4176ef6bdd261a684a8 Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 9 Dec 2009 10:48:53 +0000 Subject: Correct the SCACLient call git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@888764 13f79535-47bb-0310-9956-ffa450edef68 --- .../testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/distribution/tomcat/testing') 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"); %> -- cgit v1.2.3