axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3826) Invalid return type of the generated stub causes compile error
Date Wed, 10 Jun 2009 22:27:07 GMT

    [ 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.


Mime
View raw message