axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Afkham Azeez (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-3826) Invalid return type of the generated stub causes compile error
Date Tue, 21 Dec 2010 12:58:08 GMT

     [ 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


Mime
View raw message