summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/store-webapp/src/main
diff options
context:
space:
mode:
authorkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-02-25 14:26:32 +0000
committerkelvingoodson <kelvingoodson@13f79535-47bb-0310-9956-ffa450edef68>2010-02-25 14:26:32 +0000
commitda2610d308a460cb2170086a2c94f97d5b661e23 (patch)
tree259feab41a8c61bb1f5ad3dc4e802dedda91a562 /sca-java-2.x/trunk/samples/store-webapp/src/main
parent5df9fece70bc1baffaba425f1539647336338eaa (diff)
fix sca namespace and spurious bindings in webapp store sample
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916294 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/samples/store-webapp/src/main')
-rw-r--r--sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite12
-rw-r--r--sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml2
2 files changed, 4 insertions, 10 deletions
diff --git a/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite b/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite
index 45378cca2c..59bb4bdab3 100644
--- a/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite
+++ b/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite
@@ -24,15 +24,9 @@
<component name="Store">
<tuscany:implementation.widget location="store.html"/>
- <reference name="catalog" target="Catalog">
- <tuscany:binding.jsonrpc uri="http://localhost:8080/sample-store-webapp/Catalog"/>
- </reference>
- <reference name="shoppingCart" target="ShoppingCart/Cart">
- <tuscany:binding.atom uri="http://localhost:8080/sample-store-webapp/ShoppingCart/Cart"/>
- </reference>
- <reference name="shoppingTotal" target="ShoppingCart/Total">
- <tuscany:binding.jsonrpc uri="http://localhost:8080/sample-store-webapp/Total"/>
- </reference>
+ <reference name="catalog" target="Catalog"></reference>
+ <reference name="shoppingCart" target="ShoppingCart/Cart"></reference>
+ <reference name="shoppingTotal" target="ShoppingCart/Total"></reference>
</component>
<component name="Catalog">
diff --git a/sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml b/sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml
index 41c84c9a44..cdda6bbcad 100644
--- a/sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml
+++ b/sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml
@@ -17,7 +17,7 @@
* specific language governing permissions and limitations
* under the License.
-->
-<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0"
+<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
xmlns:store="http://store">
<deployable composite="store:store"/>
</contribution> \ No newline at end of file