summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite27
1 files changed, 12 insertions, 15 deletions
diff --git a/branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite b/branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite
index b42d482912..7b3de1a1f0 100644
--- a/branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite
+++ b/branches/sca-java-1.x/samples/binding-echo/src/main/resources/EchoBinding.composite
@@ -7,15 +7,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
-->
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://sample/echo"
@@ -23,18 +23,15 @@
xmlns:e="http://echo"
name="EchoBinding">
- <service name="EchoService" promote="EchoComponent">
- <interface.java interface="echo.Echo"/>
- <e:binding.echo uri="http://example.com/temp" />
- </service>
-
<component name="EchoComponent">
- <implementation.java class="echo.EchoComponentImpl"/>
+ <implementation.java
+ class="echo.EchoComponentImpl" />
+ <service name="Echo">
+ <e:binding.echo uri="http://example.com/server" />
+ </service>
+ <reference name="echoReference">
+ <e:binding.echo uri="http://example.com/client"/>
+ </reference>
</component>
-
- <reference name="EchoReference" promote="EchoComponent/echoReference">
- <interface.java interface="echo.Echo"/>
- <e:binding.echo uri="http://example.com/temp" />
- </reference>
-
+
</composite>