axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r370052 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/ServiceXMLTemplate.xsl
Date Wed, 18 Jan 2006 04:53:36 GMT
Author: dims
Date: Tue Jan 17 20:53:35 2006
New Revision: 370052

URL: http://svn.apache.org/viewcvs?rev=370052&view=rev
Log:
- Add comment header with axis version in the generated services.xml
- use serviceGroup as the top element to make sure that the service name gets picked up correctly
even if there is just one service. 


Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/ServiceXMLTemplate.xsl

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/ServiceXMLTemplate.xsl
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/ServiceXMLTemplate.xsl?rev=370052&r1=370051&r2=370052&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/ServiceXMLTemplate.xsl
(original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/general/ServiceXMLTemplate.xsl
Tue Jan 17 20:53:35 2006
@@ -1,15 +1,12 @@
 <xsl:stylesheet version="1.0" xmlns:xalan="http://xml.apache.org/xslt" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:output method="xml" indent="yes" omit-xml-declaration="yes" xalan:indent-amount="4"/>
 
-    <xsl:template match="/interfaces">
-        <xsl:comment>Auto generated Axis Services XML</xsl:comment>
+    <xsl:template match="/">
+        <xsl:comment> This file was auto-generated from WSDL </xsl:comment>
+        <xsl:comment> by the Apache Axis2 version: #axisVersion# #today# </xsl:comment>
         <serviceGroup>
             <xsl:apply-templates/>
         </serviceGroup>
-    </xsl:template>
-
-    <xsl:template match="/">
-        <xsl:apply-templates/>
     </xsl:template>
 
     <xsl:template match="interface">



Mime
View raw message