I generated code using a public wsdl using default code gen options (ADB). However the generated stub shows compile errors due to an invalid return type in following stub method.
Here the return type String should be java.lang.String
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;
}
Description
I generated code using a public wsdl using default code gen options (ADB). However the generated stub shows compile errors due to an invalid return type in following stub method.
Here the return type String should be java.lang.String
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;
}