Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4
-
None
-
None
-
winxp, jdk15
Description
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 = counter + 1;
return Long.toString(System.currentTimeMillis()) + "_" + counter; //Complile failure
}