You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2007/04/27 07:35:14 UTC
svn commit: r532968 - in
/incubator/tuscany/java/sca/samples/databinding-echo/src/test:
java/echo/EchoDataBindingTestCase.java resources/EchoDataBinding.composite
resources/application.composite
Author: jsdelfino
Date: Thu Apr 26 22:35:14 2007
New Revision: 532968
URL: http://svn.apache.org/viewvc?view=rev&rev=532968
Log:
Clean up, removed obsolete composite file.
Removed:
incubator/tuscany/java/sca/samples/databinding-echo/src/test/resources/application.composite
Modified:
incubator/tuscany/java/sca/samples/databinding-echo/src/test/java/echo/EchoDataBindingTestCase.java
incubator/tuscany/java/sca/samples/databinding-echo/src/test/resources/EchoDataBinding.composite
Modified: incubator/tuscany/java/sca/samples/databinding-echo/src/test/java/echo/EchoDataBindingTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/databinding-echo/src/test/java/echo/EchoDataBindingTestCase.java?view=diff&rev=532968&r1=532967&r2=532968
==============================================================================
--- incubator/tuscany/java/sca/samples/databinding-echo/src/test/java/echo/EchoDataBindingTestCase.java (original)
+++ incubator/tuscany/java/sca/samples/databinding-echo/src/test/java/echo/EchoDataBindingTestCase.java Thu Apr 26 22:35:14 2007
@@ -31,7 +31,7 @@
@Override
protected void setUp() throws Exception {
- SCARuntime.start();
+ SCARuntime.start("EchoDataBinding.composite");
}
@Override
Modified: incubator/tuscany/java/sca/samples/databinding-echo/src/test/resources/EchoDataBinding.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/databinding-echo/src/test/resources/EchoDataBinding.composite?view=diff&rev=532968&r1=532967&r2=532968
==============================================================================
--- incubator/tuscany/java/sca/samples/databinding-echo/src/test/resources/EchoDataBinding.composite (original)
+++ incubator/tuscany/java/sca/samples/databinding-echo/src/test/resources/EchoDataBinding.composite Thu Apr 26 22:35:14 2007
@@ -17,24 +17,26 @@
* specific language governing permissions and limitations
* under the License.
-->
-<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:f="http://foo"
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:local="http://tuscany.apache.org/xmlns/sca/binding/1.0" xmlns:f="http://foo"
xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" name="EchoDataBinding">
- <service name="EchoService">
- <interface.java class="echo.Interface1" />
- <binding.echo />
- <reference>ComponentB</reference>
+ <service name="EchoService" promote="ComponentB">
+ <interface.java interface="echo.Interface1" />
+ <binding.echo/>
</service>
<component name="ComponentA">
<implementation.java class="echo.ComponentAImpl" />
- <reference name="componentBReference" target="ComponentB"></reference>
+ <reference name="componentBReference" target="ComponentB" />
<property name="prefix">ABC</property>
<property name="prefix1" source="$messagePrefix"></property>
<property name="bar" source="$complexProperty/*[local-name()='foo']/*[local-name()='bar']"></property>
- <property name="omProperty"><a><b>XYZ</b></a></property>
+ <property name="omProperty">
+ <a>
+ <b>XYZ</b>
+ </a>
+ </property>
</component>
<component name="ComponentB">
@@ -45,12 +47,13 @@
<!--
<interface.java interface="echo.Echo"/>
-->
- <interface.wsdl interface="http://example.com/echo.wsdl#wsdl.interface(EchoPortType)" wsdli:wsdlLocation="http://example.com/echo.wsdl wsdl/echo.wsdl">
- <db:databinding xmlns:db="http://tuscany.apache.org/xmlns/sca/databinding/1.0" name="org.apache.axiom.om.OMElement"/>
+ <interface.wsdl interface="http://example.com/echo.wsdl#wsdl.interface(EchoPortType)"
+ wsdli:wsdlLocation="http://example.com/echo.wsdl wsdl/echo.wsdl">
+ <db:databinding xmlns:db="http://tuscany.apache.org/xmlns/sca/databinding/1.0" name="org.apache.axiom.om.OMElement" />
</interface.wsdl>
- <binding.echo />
+ <binding.echo/>
</reference>
-
+
<property name="messagePrefix" type="xsd:string">ABC</property>
<property name="complexProperty" type="f:FooType">
<foo>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org