summaryrefslogtreecommitdiffstats
path: root/java/sca/stest/sampleTest/src/main/resources/Test_ASM_0002.composite
diff options
context:
space:
mode:
authoredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2008-12-18 23:12:07 +0000
committeredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2008-12-18 23:12:07 +0000
commit3449e2527900045def8d67438f1fdbda6710c40c (patch)
tree3e01c6f6f2d44fc2a517b0b25dc0f9d1b2a955cc /java/sca/stest/sampleTest/src/main/resources/Test_ASM_0002.composite
parent27cc4ecce579d6e1d11982d792e13f6e1fe80f94 (diff)
Tests updated to use composite files to contain each atomic implementation - permits replacement with different implementation type(s)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@727853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/stest/sampleTest/src/main/resources/Test_ASM_0002.composite')
-rw-r--r--java/sca/stest/sampleTest/src/main/resources/Test_ASM_0002.composite9
1 files changed, 5 insertions, 4 deletions
diff --git a/java/sca/stest/sampleTest/src/main/resources/Test_ASM_0002.composite b/java/sca/stest/sampleTest/src/main/resources/Test_ASM_0002.composite
index 590e147a47..bc6f7d0a67 100644
--- a/java/sca/stest/sampleTest/src/main/resources/Test_ASM_0002.composite
+++ b/java/sca/stest/sampleTest/src/main/resources/Test_ASM_0002.composite
@@ -19,11 +19,12 @@
-->
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://oasis/tests"
+ xmlns:tns="http://oasis/tests"
xmlns:sample="http://oasis/tests"
name="TEST_ASM_0002">
<component name="TestClient">
- <implementation.java class="test.ASM_0002_Client"/>
+ <implementation.composite name="tns:TestClient_0002"/>
<service name="TestInvocation">
<interface.java interface="test.TestInvocation"/>
<binding.ws/>
@@ -31,13 +32,13 @@
<reference name="reference1" target="TestComponent1/Service1" />
<property name="testName">ASM_0002</property>
</component>
-
-
+
<component name="TestComponent1">
- <implementation.java class="test.service1Impl"/>
+ <implementation.composite name="tns:TestComposite1"/>
<service name="Service1">
<interface.java interface="test.Service1"></interface.java>
</service>
+ <property name="serviceName">service1</property>
</component>
</composite>