diff options
Diffstat (limited to 'cpp/sca/samples/store/store.composite')
-rw-r--r-- | cpp/sca/samples/store/store.composite | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/cpp/sca/samples/store/store.composite b/cpp/sca/samples/store/store.composite index b3f3140c8c..124adff853 100644 --- a/cpp/sca/samples/store/store.composite +++ b/cpp/sca/samples/store/store.composite @@ -17,10 +17,10 @@ * specific language governing permissions and limitations * under the License. --> -<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" - targetNamespace="http://store" - name="store"> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" + targetNamespace="http://store" + name="store"> <component name="Store"> <t:implementation.widget location="uiservices/store.html"/> @@ -38,27 +38,27 @@ </reference> </component> - <component name="StoreCatalog">
- <implementation.java class="services.FruitsCatalogImpl"/>
+ <component name="StoreCatalog"> + <implementation.java class="services.FruitsCatalogImpl"/> <property name="currencyCode">USD</property> - <service name="Catalog">
+ <service name="Catalog"> <t:binding.jsonrpc/> - </service>
- <reference name="currencyConverter" target="StoreCurrencyConverter"/>
- </component>
-
- <component name="StoreShoppingCart">
- <implementation.java class="services.ShoppingCartImpl"/>
- <service name="Cart">
- <t:binding.atom uri="/ShoppingCart/Cart"/>
- </service>
+ </service> + <reference name="currencyConverter" target="StoreCurrencyConverter"/> + </component> + + <component name="StoreShoppingCart"> + <implementation.java class="services.ShoppingCartImpl"/> + <service name="Cart"> + <t:binding.atom uri="/ShoppingCart/Cart"/> + </service> <service name="Total"> <t:binding.jsonrpc/> </service> - </component>
-
- <component name="StoreCurrencyConverter">
- <implementation.java class="services.CurrencyConverterImpl"/>
- </component>
+ </component> + + <component name="StoreCurrencyConverter"> + <implementation.java class="services.CurrencyConverterImpl"/> + </component> -</composite>
+</composite> |