Amila,
Thanks for your reply. No, I don't have any element Name named as "class" or "Class". However, I did find that the error has something to do with defining an enum type inside the service implementation class. Because after I remove the enum type, and replace it with plain String, everything works fine. Is there some sample code on using custom data type in Axis2? Thank you again, eric _____ From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 3:19 AM To: [email protected] Subject: Re: question on wsdl2java generated client Are you using any element Name named as "class" or "Class" On 3/17/07, eric zhou <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hi, I met the following error while compiling client code generated from wsdl2java, [javac] \client\StopServiceStub.java:26070: getClass() in cient.StopServiceStub.Class31 cannot override getClass() in java.lang.Object; overridden method is final [javac] public Class getClass(){ [javac] ^ It seems to be the same described in this post: http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=next_topic <http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=next_topic&f=51& t=004144&go=older> &f=51&t=004144&go=older Any suggestions are appreciated! eric -- Amila Suriarachchi, WSO2 Inc.
