summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/applications/store
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2012-05-27 06:25:39 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2012-05-27 06:25:39 +0000
commitb61b4c85131c246ebfe9c2a9870755a26fb07a99 (patch)
treed3f3f34f9cb0f91ee6ebe6fda39893702fdff195 /sca-java-2.x/trunk/samples/applications/store
parent8cb395b6412b7b0862487b82132bd9866b2eaf4b (diff)
Bringup store sample
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1342999 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/applications/store')
-rw-r--r--sca-java-2.x/trunk/samples/applications/store/pom.xml5
-rw-r--r--sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite2
2 files changed, 6 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/samples/applications/store/pom.xml b/sca-java-2.x/trunk/samples/applications/store/pom.xml
index 059a74efd5..cc06aa5672 100644
--- a/sca-java-2.x/trunk/samples/applications/store/pom.xml
+++ b/sca-java-2.x/trunk/samples/applications/store/pom.xml
@@ -52,6 +52,11 @@
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-binding-rest-runtime</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-binding-jsonrpc-runtime</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
diff --git a/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite b/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite
index 9c3b79c508..f018751670 100644
--- a/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite
+++ b/sca-java-2.x/trunk/samples/applications/store/src/main/resources/store.composite
@@ -25,7 +25,7 @@
<component name="Store">
<tuscany:implementation.widget location="uiservices/store.html"/>
<service name="Widget">
- <tuscany:binding.http uri="/store"/>
+ <tuscany:binding.rest uri="/store"/>
</service>
<reference name="catalog" target="Catalog"/>
<reference name="shoppingCart" target="ShoppingCart/Cart"/>