You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Charitha Kankanamge (JIRA)" <ji...@apache.org> on 2008/07/17 14:07:32 UTC
[jira] Updated: (AXIS2-3921) Compile errors in the ADB generated
stub (wsdl is attached)
[ https://issues.apache.org/jira/browse/AXIS2-3921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charitha Kankanamge updated AXIS2-3921:
---------------------------------------
Attachment: stockquote.wsdl
Attached wsdl
> 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