You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ke...@apache.org on 2010/02/25 15:26:33 UTC
svn commit: r916294 - in
/tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main:
resources/store.composite webapp/META-INF/sca-contribution.xml
Author: kelvingoodson
Date: Thu Feb 25 14:26:32 2010
New Revision: 916294
URL: http://svn.apache.org/viewvc?rev=916294&view=rev
Log:
fix sca namespace and spurious bindings in webapp store sample
Modified:
tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite
tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml
Modified: tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite?rev=916294&r1=916293&r2=916294&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite (original)
+++ tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/resources/store.composite Thu Feb 25 14:26:32 2010
@@ -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">
Modified: tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml?rev=916294&r1=916293&r2=916294&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml (original)
+++ tuscany/sca-java-2.x/trunk/samples/store-webapp/src/main/webapp/META-INF/sca-contribution.xml Thu Feb 25 14:26:32 2010
@@ -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