diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-09 10:48:53 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-12-09 10:48:53 +0000 |
commit | 907a06aea04604c73583d4176ef6bdd261a684a8 (patch) | |
tree | 7feb7d076e5b2460354724f1bf00f499bfc6abfd /sca-java-2.x/trunk/distribution/tomcat | |
parent | bf15430eac2af7b4d7b823dbaae97224222daa4b (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')
-rw-r--r-- | sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp | 4 |
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>
|