[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]