summaryrefslogtreecommitdiffstats
path: root/cpp/sca/test/store-script/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/sca/test/store-script/htdocs')
-rw-r--r--cpp/sca/test/store-script/htdocs/store.html6
-rw-r--r--cpp/sca/test/store-script/htdocs/store.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/cpp/sca/test/store-script/htdocs/store.html b/cpp/sca/test/store-script/htdocs/store.html
index 4a2c65d07c..98d6ec8e8e 100644
--- a/cpp/sca/test/store-script/htdocs/store.html
+++ b/cpp/sca/test/store-script/htdocs/store.html
@@ -28,7 +28,7 @@
var catalog = new tuscany.sca.Reference("catalog");
//@Reference
- //var shoppingCart = new tuscany.sca.Reference("shoppingCart");
+ var shoppingCart = new tuscany.sca.Reference("shoppingCart");
//@Reference
var shoppingTotal = new tuscany.sca.Reference("shoppingTotal");
@@ -86,7 +86,7 @@
}
function shoppingCart_postResponse(entry) {
- //shoppingCart.get("", shoppingCart_getResponse);
+ shoppingCart.get("", shoppingCart_getResponse);
}
function addToCart() {
@@ -127,7 +127,7 @@
try {
catalog.get(catalog_getResponse);
- //shoppingCart.get("", shoppingCart_getResponse);
+ shoppingCart.get("", shoppingCart_getResponse);
}
catch(e){
alert(e);
diff --git a/cpp/sca/test/store-script/htdocs/store.js b/cpp/sca/test/store-script/htdocs/store.js
index 526d36790a..64749ce6c1 100644
--- a/cpp/sca/test/store-script/htdocs/store.js
+++ b/cpp/sca/test/store-script/htdocs/store.js
@@ -651,7 +651,7 @@ tuscany.sca.Property = function (name) {
tuscany.sca.referenceMap = new Object();
tuscany.sca.referenceMap.catalog = new JSONRpcClient("/Catalog").Service;
-//tuscany.sca.referenceMap.shoppingCart = new AtomClient("/ShoppingCart/Cart");
+tuscany.sca.referenceMap.shoppingCart = new AtomClient("/ShoppingCart/Cart");
tuscany.sca.referenceMap.shoppingTotal = new JSONRpcClient("/ShoppingCart/Total").Service;
tuscany.sca.Reference = function (name) {
return tuscany.sca.referenceMap[name];