summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-11-10 16:52:42 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-11-10 16:52:42 +0000
commit90fa2dc1628bcd71700a28bb8c57e5baad691a71 (patch)
tree74ac9910405d2ea16c941de93aa0b7881b5c3293 /sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java
parent958b3d4e6bd75fab1874583ef056ae0db50ad8e6 (diff)
Add test code to demonstrate problem with WSDL generation when using @XmlJavaTypeAdapter (see TUSCANY-3779)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1033586 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java32
1 files changed, 32 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
new file mode 100644
index 0000000000..974279c7ef
--- /dev/null
+++ b/sca-java-1.x/trunk/itest/jaxws/src/main/java/jtest/impl/TestWebServiceImpl.java
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * 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.
+ */
+package jtest.impl;
+
+import javax.jws.WebService;
+
+import jtest.TestAbstract;
+import jtest.TestWebService;
+
+@WebService(endpointInterface = "jtest.TestWebService")
+public class TestWebServiceImpl implements TestWebService {
+
+ public void sendAbstract(TestAbstract testData) {
+ System.out.println(testData.getGreeting());
+ }
+}