You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2010/02/26 01:58:08 UTC

svn commit: r916517 - in /tuscany/sca-java-2.x/trunk/samples/store-webapp: pom.xml src/main/resources/store.composite

Author: lresende
Date: Fri Feb 26 00:58:07 2010
New Revision: 916517

URL: http://svn.apache.org/viewvc?rev=916517&view=rev
Log:
Fixing up binding uris

Modified:
    tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml
    tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite

Modified: tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml?rev=916517&r1=916516&r2=916517&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/samples/store-webapp/pom.xml Fri Feb 26 00:58:07 2010
@@ -84,15 +84,7 @@
             <version>2.0-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>
-        
-        
-		<dependency>
-			<groupId>org.apache.tuscany.sca</groupId>
-			<artifactId>tuscany-binding-http-runtime</artifactId>
-			<version>2.0-SNAPSHOT</version>
-			<scope>runtime</scope>
-		</dependency>
-        
+
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>

Modified: tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite?rev=916517&r1=916516&r2=916517&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite (original)
+++ tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite Fri Feb 26 00:58:07 2010
@@ -24,15 +24,10 @@
 		
     <component name="Store">
         <tuscany:implementation.widget location="store.html"/>
-        <service name="Widget">
-        	<tuscany:binding.http uri="/store"/>
-        </service>
 		<reference name="catalog" target="Catalog"/>
 		 <reference name="shoppingCart" target="ShoppingCart/Cart"/>
 		 <reference name="shoppingTotal" target="ShoppingCart/Total"/>
     </component>
-		
-  
     
 	<component name="Catalog">
 		<implementation.java class="services.FruitsCatalogImpl"/> 
@@ -49,7 +44,7 @@
 			<tuscany:binding.atom uri="/ShoppingCart/Cart"/>
 		</service>    	
 		<service name="Total">
-			<tuscany:binding.jsonrpc uri="ShoppingCart/Total"/>
+			<tuscany:binding.jsonrpc uri="/ShoppingCart/Total"/>
 		</service>    	
 	</component>