Author: ajith
Date: Wed May  3 05:27:11 2006
New Revision: 399283

URL: http://svn.apache.org/viewcvs?rev=399283&view=rev
Log:
Fixing a minor bug in the newly added feature

Modified:
    
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java
    
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/CodegenConfigLoader.java
URL: 
http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java?rev=399283&r1=399282&r2=399283&view=diff
==============================================================================
--- 
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java
 (original)
+++ 
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodegenConfigLoader.java
 Wed May  3 05:27:11 2006
@@ -97,7 +97,7 @@
         CommandLineOption repositoryPathOption = 
loadOption(WSDL2JavaConstants.REPOSITORY_PATH_OPTION, 
WSDL2JavaConstants.REPOSITORY_PATH_OPTION_LONG, optionMap);
         config.setRepositoryPath(repositoryPathOption != null ? 
repositoryPathOption.getOptionValue() : null);
 
-        CommandLineOption serverSideInterfaceOption = 
loadOption(WSDL2JavaConstants.REPOSITORY_PATH_OPTION, 
WSDL2JavaConstants.REPOSITORY_PATH_OPTION_LONG, optionMap);
+        CommandLineOption serverSideInterfaceOption = 
loadOption(WSDL2JavaConstants.SERVER_SIDE_INTERFACE_OPTION, 
WSDL2JavaConstants.SERVER_SIDE_CODE_OPTION_LONG, optionMap);
         if (serverSideInterfaceOption != null){
             config.setServerSideInterface(true);
         }

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=399283&r1=399282&r2=399283&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
 Wed May  3 05:27:11 2006
@@ -12,7 +12,7 @@
      *  <xsl:value-of select="@name"/> java skeleton for the axisService
      */
     public class <xsl:value-of select="@name"></xsl:value-of>
-        <xsl:if test="@skeletonInterfaceName">implements <xsl:value-of 
select="@skeletonInterfaceName"/></xsl:if>{
+        <xsl:if test="@skeletonInterfaceName"> implements <xsl:value-of 
select="@skeletonInterfaceName"/></xsl:if>{
      <xsl:for-each select="method">
          <xsl:variable name="count"><xsl:value-of 
select="count(output/param)"/></xsl:variable>
          <xsl:variable name="outputtype"><xsl:value-of 
select="output/param/@type"/></xsl:variable>


Reply via email to