summaryrefslogtreecommitdiffstats
path: root/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test
diff options
context:
space:
mode:
authorgiorgio <giorgio@13f79535-47bb-0310-9956-ffa450edef68>2012-09-05 08:31:30 +0000
committergiorgio <giorgio@13f79535-47bb-0310-9956-ffa450edef68>2012-09-05 08:31:30 +0000
commitc9bfccc35345ce58fb5774d4b0b6a9868b262c0a (patch)
treefe84dd4b90f2acd0b933550b6978094926c1d733 /sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test
parent5ddabdaf1ff856aae79dadc045ef2aeff08c7887 (diff)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1381061 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test')
-rw-r--r--sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-request.txt6
-rw-r--r--sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-result.txt23
-rw-r--r--sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/shopping-cart-entry.xml2
3 files changed, 31 insertions, 0 deletions
diff --git a/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-request.txt b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-request.txt
new file mode 100644
index 0000000000..09a7f8377b
--- /dev/null
+++ b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-request.txt
@@ -0,0 +1,6 @@
+{
+ "id": 1,
+ "method": "items",
+ "params": [
+ ]
+}
diff --git a/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-result.txt b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-result.txt
new file mode 100644
index 0000000000..0b456ea9d0
--- /dev/null
+++ b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/items-result.txt
@@ -0,0 +1,23 @@
+{
+ "id": 1,
+ "result": [
+ {
+ "name": "Apple",
+ "currencyCode": "USD",
+ "currencySymbol": "$",
+ "price": 2.99
+ },
+ {
+ "name": "Orange",
+ "currencyCode": "USD",
+ "currencySymbol": "$",
+ "price": 3.55
+ },
+ {
+ "name": "Pear",
+ "currencyCode": "USD",
+ "currencySymbol": "$",
+ "price": 1.55
+ }
+ ]
+} \ No newline at end of file
diff --git a/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/shopping-cart-entry.xml b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/shopping-cart-entry.xml
new file mode 100644
index 0000000000..0d6e5b520a
--- /dev/null
+++ b/sca-cpp/branches/lightweight-sca/samples/store-cpp/htdocs/test/shopping-cart-entry.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom"><title type="text">Item</title><content type="application/xml"><item><name>Orange</name><currencyCode>USD</currencyCode><currencySymbol>$</currencySymbol><price>3.55</price></item></content></entry>