axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r739189 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2: description/java2wsdl/DefaultSchemaGenerator.java util/CommandLineOptionConstants.java
Date Fri, 30 Jan 2009 06:17:12 GMT
Author: amilas
Date: Fri Jan 30 06:17:11 2009
New Revision: 739189

URL: http://svn.apache.org/viewvc?rev=739189&view=rev
Log:
adding part of issue AXIS2-4223 and option for making the method names lower case

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOptionConstants.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java?rev=739189&r1=739188&r2=739189&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
Fri Jan 30 06:17:11 2009
@@ -315,6 +315,8 @@
             }
             if (parameters.length > 0) {
                 parameterNames = methodTable.getParameterNames(methodName);
+                // put the parameter names to use it for parsing
+                service.addParameter(methodName, parameterNames);
                 sequence = new XmlSchemaSequence();
 
                 methodSchemaType = createSchemaTypeForMethodPart(methodName);

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOptionConstants.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOptionConstants.java?rev=739189&r1=739188&r2=739189&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOptionConstants.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/CommandLineOptionConstants.java
Fri Jan 30 06:17:11 2009
@@ -88,6 +88,8 @@
         String EXCLUDE_PAKAGES_OPTION_LONG = "exclude-packages";
         String SKELTON_INTERFACE_NAME_OPTION = "sin";
         String SKELTON_INTERFACE_NAME_OPTION_LONG = "skelton-interface-name";
+        String LOWER_CASE_METHOD_NAME = "lcmn";
+        String LOWER_CASE_METHOD_NAME_LONG = "lower-case-method-name";
         String SKELTON_CLASS_NAME_OPTION = "scn";
         String SKELTON_CLASS_NAME_OPTION_LONG = "skelton-class-name";
 



Mime
View raw message