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/02/22 01:51:00 UTC
svn commit: r510333 - in
/incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples:
helloworldwsOM/src/main/java/helloworldOM/HelloWorldService.java
helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java
pom.xml
Author: jsdelfino
Date: Wed Feb 21 16:50:59 2007
New Revision: 510333
URL: http://svn.apache.org/viewvc?view=rev&rev=510333
Log:
Added one more missing @DataType annotation to the helloworldwsOM sample. Test case in helloworldwsOMclient is now passing.
Modified:
incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldService.java
incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java
incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/pom.xml
Modified: incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldService.java?view=diff&rev=510333&r1=510332&r2=510333
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldService.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsOM/src/main/java/helloworldOM/HelloWorldService.java Wed Feb 21 16:50:59 2007
@@ -19,12 +19,16 @@
package helloworldOM;
import org.apache.axiom.om.OMElement;
+import org.apache.tuscany.api.annotation.DataType;
import org.osoa.sca.annotations.Remotable;
+import org.osoa.sca.annotations.Service;
/**
* This is the business interface of the HelloWorld greetings service.
*/
+@Service
@Remotable
+@DataType(name="org.apache.axiom.om.OMElement")
public interface HelloWorldService {
public OMElement getGreetings(OMElement name);
Modified: incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java?view=diff&rev=510333&r1=510332&r2=510333
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/helloworldwsclientOM/src/test/java/helloworldOM/HelloWorldClientTestCase.java Wed Feb 21 16:50:59 2007
@@ -46,8 +46,8 @@
CompositeContext compositeContext = CurrentCompositeContext.getContext();
helloWorldService = compositeContext.locateService(HelloWorldService.class, "HelloWorldServiceComponent");
- //server = new SCATestCaseRunner(HelloWorldServerTestCase.class);
- //server.setUp();
+ server = new SCATestCaseRunner(HelloWorldServerTestCase.class);
+ server.setUp();
}
public void testWSClient() {
@@ -64,7 +64,7 @@
@Override
protected void tearDown() throws Exception {
super.tearDown();
- //server.tearDown();
+ server.tearDown();
}
}
Modified: incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/pom.xml?view=diff&rev=510333&r1=510332&r2=510333
==============================================================================
--- incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/pom.xml (original)
+++ incubator/tuscany/branches/sca-java-integration/sca/extensions/axis2/samples/pom.xml Wed Feb 21 16:50:59 2007
@@ -66,6 +66,8 @@
<modules>
<module>helloworldws</module>
<module>helloworldwsclient</module>
+ <module>helloworldwsOM</module>
+ <module>helloworldwsclientOM</module>
</modules>
</profile>
@@ -73,8 +75,8 @@
<id>integration</id>
<modules>
<module>helloworldws</module>
- <module>helloworldwsOM</module>
<module>helloworldwsclient</module>
+ <module>helloworldwsOM</module>
<module>helloworldwsclientOM</module>
</modules>
</profile>
@@ -83,8 +85,8 @@
<id>unstable</id>
<modules>
<module>helloworldws</module>
- <module>helloworldwsOM</module>
<module>helloworldwsclient</module>
+ <module>helloworldwsOM</module>
<module>helloworldwsclientOM</module>
</modules>
</profile>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org