summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/samples/store/src
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-20 06:22:42 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-20 06:22:42 +0000
commit016d91d73396d778f544123efbd7ff81426a4e36 (patch)
tree9ea852189d8f48c5ef739a21cb41feff1f68d867 /branches/sca-java-1.x/samples/store/src
parentdfb810d7af4c69bf5f1fc023b5efd1e68f4e1a15 (diff)
Properly handle SMD requests in JSON-RPC wire format/operation selector
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@776580 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/samples/store/src')
-rw-r--r--branches/sca-java-1.x/samples/store/src/main/resources/store.composite20
1 files changed, 16 insertions, 4 deletions
diff --git a/branches/sca-java-1.x/samples/store/src/main/resources/store.composite b/branches/sca-java-1.x/samples/store/src/main/resources/store.composite
index 571678839d..c60b6a1f76 100644
--- a/branches/sca-java-1.x/samples/store/src/main/resources/store.composite
+++ b/branches/sca-java-1.x/samples/store/src/main/resources/store.composite
@@ -28,13 +28,19 @@
<t:binding.http uri="/store"/>
</service>
<reference name="catalog" target="Catalog">
- <t:binding.jsonrpc/>
+ <t:binding.http>
+ <t:wireFormat.jsonrpc/>
+ <t:operationSelector.jsonrpc/>
+ </t:binding.http>
</reference>
<reference name="shoppingCart" target="ShoppingCart/Cart">
<t:binding.atom/>
</reference>
<reference name="shoppingTotal" target="ShoppingCart/Total">
- <t:binding.jsonrpc/>
+ <t:binding.http>
+ <t:wireFormat.jsonrpc/>
+ <t:operationSelector.jsonrpc/>
+ </t:binding.http>
</reference>
</component>
@@ -42,7 +48,10 @@
<implementation.java class="services.FruitsCatalogImpl"/>
<property name="currencyCode">USD</property>
<service name="Catalog">
- <t:binding.jsonrpc/>
+ <t:binding.http>
+ <t:wireFormat.jsonrpc/>
+ <t:operationSelector.jsonrpc/>
+ </t:binding.http>
</service>
<reference name="currencyConverter" target="CurrencyConverter"/>
</component>
@@ -53,7 +62,10 @@
<t:binding.atom uri="/ShoppingCart/Cart"/>
</service>
<service name="Total">
- <t:binding.jsonrpc/>
+ <t:binding.http>
+ <t:wireFormat.jsonrpc/>
+ <t:operationSelector.jsonrpc/>
+ </t:binding.http>
</service>
</component>