Return-Path: Delivered-To: apmail-ws-axis-cvs-archive@www.apache.org Received: (qmail 5807 invoked from network); 5 Oct 2007 09:02:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2007 09:02:12 -0000 Received: (qmail 12330 invoked by uid 500); 5 Oct 2007 09:02:00 -0000 Delivered-To: apmail-ws-axis-cvs-archive@ws.apache.org Received: (qmail 12208 invoked by uid 500); 5 Oct 2007 09:02:00 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 12197 invoked by uid 500); 5 Oct 2007 09:02:00 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 12194 invoked by uid 99); 5 Oct 2007 09:02:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 02:02:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 09:02:09 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 70EFA1A983A; Fri, 5 Oct 2007 02:01:49 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r582140 - in /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl: codegen/emitter/ template/java/ Date: Fri, 05 Oct 2007 09:01:48 -0000 To: axis2-cvs@ws.apache.org From: amilas@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071005090149.70EFA1A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: amilas Date: Fri Oct 5 02:01:47 2007 New Revision: 582140 URL: http://svn.apache.org/viewvc?rev=582140&view=rev Log: add fault message comments to the method signatures Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java?rev=582140&r1=582139&r2=582140&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java (original) +++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/emitter/AxisServiceBasedMultiLanguageEmitter.java Fri Oct 5 02:01:47 2007 @@ -2167,7 +2167,7 @@ // add documentation for this operation String comment = ""; if (axisOperation.getDocumentation() != null){ - comment = axisOperation.getDocumentation(); + comment = axisOperation.getDocumentation().trim(); } addAttribute(doc, "comment", comment, methodElement); @@ -2794,6 +2794,11 @@ } //as for the name of a fault, we generate an exception + String faultComment = ""; + if (msg.getDocumentation() != null){ + faultComment = msg.getDocumentation().trim(); + } + addAttribute(doc, "comment", faultComment, paramElement); addAttribute(doc, "name", (String) fullyQualifiedFaultClassNameMap.get(msg.getName()), paramElement); Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl?rev=582140&r1=582139&r2=582140&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl (original) +++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceImplementationTemplate.xsl Fri Oct 5 02:01:47 2007 @@ -236,6 +236,9 @@ * @param + + * @throws : + */ @@ -878,6 +881,11 @@ /** * Auto generated method signature * + + + * @throws : + + */ public void ( Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl?rev=582140&r1=582139&r2=582140&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl (original) +++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/InterfaceTemplate.xsl Fri Oct 5 02:01:47 2007 @@ -65,6 +65,9 @@ * @param + + * @throws : + */ @@ -188,6 +191,11 @@ /** * Auto generated method signature for Asynchronous Invocations * + + + * @throws : + + */ public void ( Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl?rev=582140&r1=582139&r2=582140&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl (original) +++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonInterfaceTemplate.xsl Fri Oct 5 02:01:47 2007 @@ -81,6 +81,9 @@ + + * @throws : + */ Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl?rev=582140&r1=582139&r2=582140&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl (original) +++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl Fri Oct 5 02:01:47 2007 @@ -83,6 +83,9 @@ + + * @throws : + */ --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org