You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2009/12/09 11:48:54 UTC

svn commit: r888764 - /tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp

Author: antelder
Date: Wed Dec  9 10:48:53 2009
New Revision: 888764

URL: http://svn.apache.org/viewvc?rev=888764&view=rev
Log:
Correct the SCACLient call

Modified:
    tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp

Modified: tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp?rev=888764&r1=888763&r2=888764&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp (original)
+++ tuscany/sca-java-2.x/trunk/distribution/tomcat/testing/helloworld-scaclient-webapp/src/main/webapp/hello.jsp Wed Dec  9 10:48:53 2009
@@ -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>