diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-11-25 12:02:58 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-11-25 12:02:58 +0000 |
commit | f1c1be59f2a31efd90a8e33524aa02fa23dd3d4b (patch) | |
tree | 742692f48f7f28fad26fd292b24f458c13ded9c4 /sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java | |
parent | 1b68f70a4084371fd68e54429dce10b96ae61888 (diff) |
Add test for abstract exception (marked @Ignore) and add test for List type
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1039012 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java b/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java index 974279c7ef..2c429358f3 100644 --- a/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java +++ b/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java @@ -18,8 +18,11 @@ */
package jtest.impl;
+import java.util.List;
import javax.jws.WebService;
+import jtest.AbstractException;
+import jtest.ConcreteException;
import jtest.TestAbstract;
import jtest.TestWebService;
@@ -29,4 +32,12 @@ public class TestWebServiceImpl implements TestWebService { public void sendAbstract(TestAbstract testData) {
System.out.println(testData.getGreeting());
}
+
+ public void throwAbstract() throws AbstractException {
+ throw new ConcreteException();
+ }
+
+ public void sendList(List<String> data) {
+ System.out.println(data.get(0) + " " + data.get(1));
+ }
}
|