Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 21859 invoked from network); 24 Apr 2006 15:46:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Apr 2006 15:46:18 -0000 Received: (qmail 38111 invoked by uid 500); 24 Apr 2006 15:46:16 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 37752 invoked by uid 500); 24 Apr 2006 15:46:15 -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 37741 invoked by uid 99); 24 Apr 2006 15:46:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 08:46:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2006 08:46:14 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1C2167142BE for ; Mon, 24 Apr 2006 15:45:06 +0000 (GMT) Message-ID: <12688638.1145893506097.JavaMail.jira@brutus> Date: Mon, 24 Apr 2006 15:45:06 +0000 (GMT+00:00) From: "Olaf Danne (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-2424) Java2WSDL and again WSDL2Java on the created wsdl modify the code irreversably In-Reply-To: <268625625.1141660471170.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-2424?page=comments#action_12376052 ] Olaf Danne commented on AXIS-2424: ---------------------------------- I forgot to mention that these six files are in the "Axis_2424.zip"... > Java2WSDL and again WSDL2Java on the created wsdl modify the code irreversably > ------------------------------------------------------------------------------ > > Key: AXIS-2424 > URL: http://issues.apache.org/jira/browse/AXIS-2424 > Project: Apache Axis > Type: Bug > Components: WSDL processing > Versions: 1.3 > Environment: Windows 2000, Java 1.4.2_04 > Reporter: Dr. Friedemann Weik > Attachments: Axis_2424.zip > > A Java class containing definitions like: > private int[] arrPossibleDestPenalties; > private java.lang.Boolean bStationBefore; > without the code generated by WSDL2Java creates a wsdl with > > > Using this generated wsdl and creating the Java files back by WSDL2Java together with the generated methods, I will find: > private int[] arrPossibleDestPenalties; > private java.lang.Boolean BStationBefore; > thus creating the right definition for int[] but changing the name of the variable from bStationBefore to BStationBefore. If I correct the modified name back to its original, wherever it appears, compile the Java-files and do the Java2WSDL again, I receive the following: > > > Using this generated wsdl and creating the Java files back by WSDL2Java together with the generated methods, I will find: > private java.lang.Integer arrPossibleDestPenalties; > private java.lang.Boolean bStationBefore; > Which means: > - a pure Java file with Java2WSDL and WSDL2Java will modify the names > - a generated Java file with Java2WSDL and WSDL2Java will modify the int[] to Integer (not as array!). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira