Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 70703 invoked from network); 2 Jan 2008 15:41:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2008 15:41:55 -0000 Received: (qmail 46441 invoked by uid 500); 2 Jan 2008 15:41:43 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 46421 invoked by uid 500); 2 Jan 2008 15:41:43 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 46406 invoked by uid 99); 2 Jan 2008 15:41:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 07:41:43 -0800 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; Wed, 02 Jan 2008 15:41:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2FC64714264 for ; Wed, 2 Jan 2008 07:41:34 -0800 (PST) Message-ID: <13561376.1199288494192.JavaMail.jira@brutus> Date: Wed, 2 Jan 2008 07:41:34 -0800 (PST) From: "Frank Huebbers (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Updated: (AXIS2C-864) Use of 'const' for arguments in setter methods of generated types In-Reply-To: <5791679.1199288494062.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/AXIS2C-864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frank Huebbers updated AXIS2C-864: ---------------------------------- Component/s: wsdl2c tool > Use of 'const' for arguments in setter methods of generated types > ----------------------------------------------------------------- > > Key: AXIS2C-864 > URL: https://issues.apache.org/jira/browse/AXIS2C-864 > Project: Axis2-C > Issue Type: Improvement > Components: wsdl2c tool > Affects Versions: Current (Nightly) > Reporter: Frank Huebbers > > In setter methods of the various types generated by the wsdl2c tool, I would like to see a const classifier on the inputs, especially in the case when the input is of type axis2_char_t. > For example, for a LoginType I have a username which I can set. In the current version of the tool, the following prototype is generated: > axis2_status_t AXIS2_CALL > adb_LoginType_set_username( > adb_LoginType_t* _LoginType, > const axutil_env_t *env, > axis2_char_t* arg_username); > What would be better, however, is the following: > axis2_status_t AXIS2_CALL > adb_LoginType_set_username( > adb_LoginType_t* _LoginType, > const axutil_env_t *env, > const axis2_char_t* arg_username); > I generated the client stub with the following options on the wsdl2c tool: -uri myWSDL.wsdl -d adb -u > Thanks for all the help and time in advance. > Cheers, > Frank -- 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-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org