Issue Details (XML | Word | Printable)

Key: AXIS2-3826
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Amila Chinthaka Suriarachchi
Reporter: Charitha Kankanamge
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Axis 2.0 (Axis2)

Invalid return type of the generated stub causes compile error

Created: 29/May/08 06:45 AM   Updated: 10/Jun/09 10:26 PM
Return to search
Component/s: codegen
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Environment: winxp, jdk15
Issue Links:
Duplicate
 
Reference
 


 Description  « Hide
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;
        }


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.