axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From turbok...@gmx.de
Subject [No Subject]
Date Wed, 12 Aug 2009 14:22:45 GMT
Hi folks,
I am generating from a wsdl Client Server Java code, by using the axis2-wsdl2code-maven-plugin.
The wsdl file contains the following element:
<xs:complexType name="ErrorReportType">
<xs:sequence>…  <xs:element name="Class" form="unqualified" type="xs:string"/>…
</xs:sequence>
</xs:complexType>

While compilation phase a class named  “ErrorReporType” containing a field named “Class”,
 and the getter and setter methods are tried to be generated, without success. The compilation
of the stub failures with the message “…myPackage.MyStub.ErrorReportType cannot override
getClass()”

The problem is the wsdl element "Class" as shown above and final declared method getClass()on
java side. Is there any chance to solve this problem? 


I would appreciate any hints…

Thanks
Ike

Mime
View raw message