Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 35237 invoked from network); 30 Jul 2007 06:45:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jul 2007 06:45:09 -0000 Received: (qmail 11261 invoked by uid 500); 30 Jul 2007 06:45:08 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 7748 invoked by uid 500); 30 Jul 2007 06:43:59 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 5934 invoked by uid 99); 30 Jul 2007 06:43:17 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2007 23:43:17 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 06:42:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CDD877141F0 for ; Sun, 29 Jul 2007 23:41:52 -0700 (PDT) Message-ID: <10480548.1185777712832.JavaMail.jira@brutus> Date: Sun, 29 Jul 2007 23:41:52 -0700 (PDT) From: "Deepal Jayasinghe (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-3017) WSDL generation error - lowercasing 1st char in element names In-Reply-To: <22559106.1185384451056.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516293 ] Deepal Jayasinghe commented on AXIS2-3017: ------------------------------------------ Well , Axis2 support Java beans so we need to follow the Java bean convention so we can not have java bean with properties starting from upper case. Yes I do agree we need to fix our hard coded Upper to Lower conversion issues once Annogen fix their issues. But the issue is annogen is not that active so I doubt about their next release. Thanks Deepal > WSDL generation error - lowercasing 1st char in element names > ------------------------------------------------------------- > > Key: AXIS2-3017 > URL: https://issues.apache.org/jira/browse/AXIS2-3017 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: wsdl > Reporter: nadir amra > Assignee: Deepal Jayasinghe > Priority: Critical > Attachments: ConvertTemp.zip > > > Here is the problem. I deploy a POJO and when AXIS2 (using nightly build > 2007/07/25) automatically generated WSDL via ?wsdl it produces a WSDL file > the includes the following: > > > > > > > > > > > > > The problem is with the element names. It seems that AXIS2 is lowercasing the "t" in TEMPIN and TEMPOUT, which makes the service unusable. The CONVERTTEMPInput class is as follows: > public class CONVERTTEMPInput implements Serializable > { > private static final long serialVersionUID = -884605419035002637L; > public CONVERTTEMPInput() { } > public void setTEMPIN( String TEMPIN ) > { > _TEMPIN = TEMPIN; > } > public String getTEMPIN( ) > { > return _TEMPIN; > } > public void setTEMPOUT( String TEMPOUT ) > { > _TEMPOUT = TEMPOUT; > } > public String getTEMPOUT( ) > { > return _TEMPOUT; > } > private String _TEMPIN = ""; > private String _TEMPOUT = ""; > } > If I add an underscore prior to TEMPIN and TEMPOUT in the method names, things start to work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org