Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 67287 invoked from network); 10 Jan 2006 09:43:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jan 2006 09:43:20 -0000 Received: (qmail 97551 invoked by uid 500); 10 Jan 2006 09:43:17 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 97526 invoked by uid 500); 10 Jan 2006 09:43:17 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 97515 invoked by uid 500); 10 Jan 2006 09:43:17 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 97512 invoked by uid 99); 10 Jan 2006 09:43:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2006 01:43:17 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 10 Jan 2006 01:43:16 -0800 Received: (qmail 67063 invoked by uid 65534); 10 Jan 2006 09:42:56 -0000 Message-ID: <20060110094256.67059.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: axis2-cvs@ws.apache.org From: deepal@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 @@ Axis2 IDEA tools - Service Rrchive craetion and Codegenaration + Service Archive creation and Codegenaration 1.0 @@ -33,7 +33,7 @@ + text="Axis2 plugins" description="Service creation and codegeneration"> 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); }