You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Afkham Azeez (JIRA)" <ji...@apache.org> on 2010/12/21 13:58:08 UTC

[jira] Resolved: (AXIS2-3826) Invalid return type of the generated stub causes compile error

     [ https://issues.apache.org/jira/browse/AXIS2-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Afkham Azeez resolved AXIS2-3826.
---------------------------------

    Resolution: Fixed

This has been fixed

> Invalid return type of the generated stub causes compile error 
> ---------------------------------------------------------------
>
>                 Key: AXIS2-3826
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3826
>             Project: 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org