summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/node-impl/src/test/resources/org/apache/tuscany/sca/node/configuration/node1.xml
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2012-07-26 18:20:29 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2012-07-26 18:20:29 +0000
commit94fe4f9f4c1c02bd655e0be72c5ee9c9cb22941c (patch)
treef7ea717c032f093e14780ca7d0826d87d6a6fba1 /sca-java-2.x/trunk/modules/node-impl/src/test/resources/org/apache/tuscany/sca/node/configuration/node1.xml
parent691bd278f6f49b4bb0ec7457715b57793cdea663 (diff)
Add the remoteEndpoints configuration for node.xml to define statically-configured remote endpoints
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1366125 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/node-impl/src/test/resources/org/apache/tuscany/sca/node/configuration/node1.xml22
1 files changed, 21 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/node-impl/src/test/resources/org/apache/tuscany/sca/node/configuration/node1.xml b/sca-java-2.x/trunk/modules/node-impl/src/test/resources/org/apache/tuscany/sca/node/configuration/node1.xml
index 0e574e61fe..914458faca 100644
--- a/sca-java-2.x/trunk/modules/node-impl/src/test/resources/org/apache/tuscany/sca/node/configuration/node1.xml
+++ b/sca-java-2.x/trunk/modules/node-impl/src/test/resources/org/apache/tuscany/sca/node/configuration/node1.xml
@@ -59,9 +59,29 @@
<sca:composite name="endpoint">
<sca:component name="Component1"> <!-- first component -->
<sca:service name="Service1">
- <tuscany:binding.rest uri="http://localhost:8080/services/myResource" />
+ <binding.ws uri="http://localhost:8080/services/myResource" />
</sca:service>
</sca:component>
</sca:composite>
</endpoint>
+ <remoteEndpoints>
+ <sca:composite name="endpoint">
+ <sca:component name="Component2"> <!-- first component -->
+ <sca:service name="Service1">
+ <sca:binding.ws name="ws" uri="http://localhost:8080/services/myResource1" />
+ </sca:service>
+ <sca:service name="Service2">
+ <sca:binding.ws uri="http://localhost:8080/services/myResource2" />
+ </sca:service>
+ </sca:component>
+ <sca:component name="Component3"> <!-- first component -->
+ <sca:service name="Service1">
+ <sca:binding.ws uri="http://localhost:8080/services/myResource1" />
+ </sca:service>
+ <sca:service name="Service2">
+ <sca:binding.ws uri="http://localhost:8080/services/myResource2" />
+ </sca:service>
+ </sca:component>
+ </sca:composite>
+ </remoteEndpoints>
</node> \ No newline at end of file