axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r367542 - in /webservices/axis2/trunk/java/modules: core/src/org/apache/axis2/deployment/util/Utils.java tool/ideaplugin/plugin/META-INF/plugin.xml wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
Date Tue, 10 Jan 2006 09:42:52 GMT
Author: deepal
Date: Tue Jan 10 01:42:28 2006
New Revision: 367542

URL: http://svn.apache.org/viewcvs?rev=367542&view=rev
Log:
- There was a bug in Java2WSDL (if there is an init method it generate code for that method
as well) , So I fixed that

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java
    webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/META-INF/plugin.xml
    webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java?rev=367542&r1=367541&r2=367542&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/util/Utils.java
Tue Jan 10 01:42:28 2006
@@ -184,6 +184,8 @@
                 // no need to expose , private and protected methods
                 continue;
             }
+            if (jmethod.getSimpleName().equals("init"))
+                continue;
             String opName = jmethod.getSimpleName();
             AxisOperation operation = axisService.getOperation(new QName(opName));
             // if the opeartion there in services.xml then try to set it schema element name

Modified: webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/META-INF/plugin.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/META-INF/plugin.xml?rev=367542&r1=367541&r2=367542&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/META-INF/plugin.xml (original)
+++ webservices/axis2/trunk/java/modules/tool/ideaplugin/plugin/META-INF/plugin.xml Tue Jan
10 01:42:28 2006
@@ -6,7 +6,7 @@
     <name>Axis2 IDEA tools</name>
 
     <!-- Description -->
-    <description> Service Rrchive craetion and Codegenaration </description>
+    <description> Service Archive creation and Codegenaration </description>
 
     <!-- Plugin version -->
     <version>1.0</version>
@@ -33,7 +33,7 @@
         <!-- We use "PluginName.ComponentName.ActionName" notation for "id" to avoid conflicts
-->
         <action id="ActionsSample.ActionsPlugin.ServiceArchiveCreator"
             class="org.apache.ideaplugin.plugin.Axis2PluginAction"
-            text="Axis2 plugins" description="Service craetion and codegeneration">
+            text="Axis2 plugins" description="Service creation and codegeneration">
             <keyboard-shortcut first-keystroke="alt W" second-keystroke="C" keymap="$default"/>
             <mouse-shortcut keystroke="ctrl alt button2" keymap="$default"/>
         </action>

Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java?rev=367542&r1=367541&r2=367542&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
(original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/java2wsdl/SchemaGenerator.java
Tue Jan 10 01:42:28 2006
@@ -208,7 +208,9 @@
     private void generateWrapperElements(JMethod methods[]) {
         for (int i = 0; i < methods.length; i++) {
             JMethod method = methods[i];
-            if (method.getSimpleName().equals("init") || !method.isPublic())
+            if (method.getSimpleName().equals("init"))
+                continue;
+            if (!method.isPublic())
                 continue;
             genereteWrapperElementforMethod(method);
         }



Mime
View raw message