Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 70818 invoked from network); 2 Jan 2008 15:41:57 -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:57 -0000 Received: (qmail 46797 invoked by uid 500); 2 Jan 2008 15:41:45 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 46783 invoked by uid 500); 2 Jan 2008 15:41:45 -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 46772 invoked by uid 99); 2 Jan 2008 15:41:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 07:41:45 -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:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1023471423B for ; Wed, 2 Jan 2008 07:41:34 -0800 (PST) Message-ID: <5791679.1199288494062.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] Created: (AXIS2C-864) Use of 'const' for arguments in setter methods of generated types MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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 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