Invalid return type of the generated stub causes complie error 
---------------------------------------------------------------

                 Key: AXIS2-3826
                 URL: https://issues.apache.org/jira/browse/AXIS2-3826
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
         Environment: winxp, jdk15
            Reporter: Charitha Kankanamge
            Assignee: Amila Chinthaka Suriarachchi


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;
        }


-- 
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]

Reply via email to