diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 06:48:14 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-14 06:48:14 +0000 |
commit | edad0f15b0e1010826c07494ebc3932c7aa2a14b (patch) | |
tree | b304eb154866b1523372cfba7941823e3b47caa3 | |
parent | 7c9f8b8af3dc7e192cea262e7a8e23c519fd0a50 (diff) |
Porting store composites to the latest schemas.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814497 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/sca/samples/store/catalogs.composite | 8 | ||||
-rw-r--r-- | cpp/sca/samples/store/currency.composite | 8 | ||||
-rw-r--r-- | cpp/sca/samples/store/store.composite | 44 |
3 files changed, 30 insertions, 30 deletions
diff --git a/cpp/sca/samples/store/catalogs.composite b/cpp/sca/samples/store/catalogs.composite index 154d475165..1638ed0a05 100644 --- a/cpp/sca/samples/store/catalogs.composite +++ b/cpp/sca/samples/store/catalogs.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://services" - name="catalogs"> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" + targetNamespace="http://services" + name="catalogs"> <component name="FruitsCatalogWebService"> <implementation.java class="services.FruitsCatalogImpl"/> diff --git a/cpp/sca/samples/store/currency.composite b/cpp/sca/samples/store/currency.composite index 7a3f70e299..aefd474f1f 100644 --- a/cpp/sca/samples/store/currency.composite +++ b/cpp/sca/samples/store/currency.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://services" - name="currency"> +<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" + xmlns:t="http://tuscany.apache.org/xmlns/sca/1.1" + targetNamespace="http://services" + name="currency"> <component name="CurrencyConverterWebService"> <implementation.java class="services.CurrencyConverterImpl"/> 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> |