Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 87511 invoked from network); 21 Jul 2008 10:26:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jul 2008 10:26:34 -0000 Received: (qmail 89005 invoked by uid 500); 21 Jul 2008 10:26:31 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 88964 invoked by uid 500); 21 Jul 2008 10:26:31 -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 88953 invoked by uid 99); 21 Jul 2008 10:26:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 03:26:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2008 10:25:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DE4F9234C175 for ; Mon, 21 Jul 2008 03:25:31 -0700 (PDT) Message-ID: <487227500.1216635931909.JavaMail.jira@brutus> Date: Mon, 21 Jul 2008 03:25:31 -0700 (PDT) From: "Amila Chinthaka Suriarachchi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-3921) Compile errors in the ADB generated stub (wsdl is attached) In-Reply-To: <1570796140.1216296451894.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-3921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Chinthaka Suriarachchi resolved AXIS2-3921. ------------------------------------------------- Resolution: Fixed fixed the issue > Compile errors in the ADB generated stub (wsdl is attached) > ----------------------------------------------------------- > > Key: AXIS2-3921 > URL: https://issues.apache.org/jira/browse/AXIS2-3921 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: adb > Affects Versions: 1.4 > Environment: winxp, jdk15 > Reporter: Charitha Kankanamge > Assignee: Amila Chinthaka Suriarachchi > Attachments: stockquote.wsdl > > > Type mismatch: cannot convert from String to StockQuoteStub.String compile error can be seen in the generated stub. The wsdl is attached here with. > Steps to reproduce: > ================ > 1. Generate stub using the following options > wsdljava -uri http://www.webservicex.net/stockquote.asmx?wsdl -o out > 2. Import the generated stub in to an IDE with the Axis2 libraries in class path. You will notice compilation failure at the following method in StockQuoteStub.java > private static synchronized String getUniqueSuffix(){ > // reset the counter if it is greater than 99999 > if (counter > 99999){ > counter = 0; > } > counter = counter + 1; > return Long.toString(System.currentTimeMillis()) + "_" + counter; //Complile failure > } -- 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