axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r375468 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl
Date Tue, 07 Feb 2006 03:59:10 GMT
Author: dims
Date: Mon Feb  6 19:59:00 2006
New Revision: 375468

URL: http://svn.apache.org/viewcvs?rev=375468&view=rev
Log:
allows me to add a "throw new AxisFault(...)" in the generated Skeleton among other things.


Modified:
    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/template/java/SkeletonTemplate.xsl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/SkeletonTemplate.xsl?rev=375468&r1=375467&r2=375468&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
Mon Feb  6 19:59:00 2006
@@ -26,7 +26,7 @@
         public  <xsl:if test="$outputtype=''">void</xsl:if><xsl:if test="$outputtype!=''"><xsl:value-of
select="$outputtype"/></xsl:if><xsl:text> </xsl:text><xsl:value-of
select="@name"/>
                   (<xsl:for-each select="input/param[@location='body']">
             <xsl:if test="@type!=''"><xsl:if test="position()>1">,</xsl:if><xsl:value-of
select="@type"/><xsl:text> </xsl:text><xsl:value-of select="@name"/></xsl:if>
-                   </xsl:for-each> ){
+                   </xsl:for-each> ) throws Exception {
                 //Todo fill this with the necessary business logic
                 <xsl:if test="$outputtype!=''">return null;</xsl:if>
         }



Mime
View raw message