[ 
https://issues.apache.org/jira/browse/AXIS2-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718236#action_12718236
 ] 

Andreas Veithen commented on AXIS2-3826:
----------------------------------------

I tested this with the WSDL and the options provided in AXIS2-3827 and the 
return type of the generated getUniqueSuffix method is java.lang.String. The 
change that should have fixed this issue is r678385. Can you please provide 
evidence that the issue still persists?

> Invalid return type of the generated stub causes compile 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.

Reply via email to