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 2010/08/26 14:14:45 UTC

svn commit: r989634 - /tuscany/sca-java-2.x/contrib/samples/hema/src/main/webapp/WEB-INF/web.composite

Author: antelder
Date: Thu Aug 26 12:14:44 2010
New Revision: 989634

URL: http://svn.apache.org/viewvc?rev=989634&view=rev
Log:
Add service element defining the sca binidng (for the jsp) and ws and rmi binidngs, the aditional bindings need the name attribute to avoid an error but it seems a shame that can't have a default

Modified:
    tuscany/sca-java-2.x/contrib/samples/hema/src/main/webapp/WEB-INF/web.composite

Modified: tuscany/sca-java-2.x/contrib/samples/hema/src/main/webapp/WEB-INF/web.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/contrib/samples/hema/src/main/webapp/WEB-INF/web.composite?rev=989634&r1=989633&r2=989634&view=diff
==============================================================================
--- tuscany/sca-java-2.x/contrib/samples/hema/src/main/webapp/WEB-INF/web.composite (original)
+++ tuscany/sca-java-2.x/contrib/samples/hema/src/main/webapp/WEB-INF/web.composite Thu Aug 26 12:14:44 2010
@@ -29,6 +29,11 @@
 
     <component name="HelloworldComponent">
         <implementation.java class="sample.HelloworldServiceImpl"/>
+        <service name="HelloworldService">
+           <binding.sca/>
+           <binding.ws name="ws"/>
+           <tuscany:binding.rmi name="rmi"/>
+        </service>
     </component>
 
 </composite>