axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Peregrine (JIRA)" <>
Subject [jira] Commented: (AXIS2-3826) Invalid return type of the generated stub causes compile error
Date Wed, 10 Jun 2009 20:55:07 GMT


John Peregrine commented on AXIS2-3826:

This bug report has been open since May of 2008.  Any progress on this issue?

I can quickly workaround the issue by changing the return type of the getUniqueSuffix function
from 'String' to 'java.lang.String', but it is progressively more annoying each time I regenerate
my web service client, only to have code that will not compile, yet again.

I just tried this with the latest 1.5 version, and it too generates the exact same error.

It would be nice if someone was able to fix this seemingly simple bug (and close a long-running
open issue while they're at it).

John Peregrine

> Invalid return type of the generated stub causes compile error 
> ---------------------------------------------------------------
>                 Key: AXIS2-3826
>                 URL:
>             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.

View raw message