cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r823871 - in /cxf/trunk/systests/wsdl_maven/java2ws: ./ src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java
Date Sat, 10 Oct 2009 15:26:28 GMT
Author: cschneider
Date: Sat Oct 10 15:26:28 2009
New Revision: 823871

URL: http://svn.apache.org/viewvc?rev=823871&view=rev
Log:
Added wsdldocumentation and webparam annotation

Modified:
    cxf/trunk/systests/wsdl_maven/java2ws/   (props changed)
    cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java

Propchange: cxf/trunk/systests/wsdl_maven/java2ws/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sat Oct 10 15:26:28 2009
@@ -2,3 +2,9 @@
 .project
 .settings
 target
+
+.checkstyle
+
+.pmd
+
+.ruleset

Modified: cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java?rev=823871&r1=823870&r2=823871&view=diff
==============================================================================
--- cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java
(original)
+++ cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java
Sat Oct 10 15:26:28 2009
@@ -19,10 +19,14 @@
 
 package org.apache.cxf.systests.java2ws;
 
+import javax.jws.WebParam;
 import javax.jws.WebService;
 
+import org.apache.cxf.annotations.WSDLDocumentation;
+
 @WebService
+@WSDLDocumentation(value = "A simple service with only one method")
 public interface HelloWorld {
-    String sayHi(String text);
+    @WSDLDocumentation(value = "Simply return the given text")
+    String sayHi(@WebParam(name = "text") String text);
 }
-



Mime
View raw message