axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Gautham.Kasin...@hbf.com.au>
Subject WSDL2Java in Axis1.4 code generation errors.
Date Thu, 08 May 2008 09:09:29 GMT
Hello all, 

In the past with axis upto 1.2, I have used the bundled wsdl2java tool 
with a lot of confidence. 
Recently however, I have discovered some code generation errors when using 
the tool. 
For instance, a Class X was generated such that: 
public class ListOfIDXRefDataTypeIdXRefAppInstanceAppID  implements 
java.io.Serializable, org.apache.axis.encoding.SimpleType.

This class had the following constructor, generated: 
public 
ListOfIDXRefDataTypeIdXRefAppInstanceAppID(org.apache.axis.types.Token 
_value) {
        super(_value);
    }

As you can see from the Class declaration, it does not extend any other 
class (other than java.lang.Object by default). Hence compilation of this 
class fails because Object(value) is not present and super(value) is 
illegal. 

Has anyone else come across similar or same errors? Is there a resolution 
for these errors, other than modifying the classes oneself. 

Please advise. 

Thanks

Cheers
Gautham Kasinath

Gautham KASINATH

HBF/Ajilon 
William Street
Perth
Phone: +61 8 9214 6754
=======================================================================
HBF Health Funds Inc ARBN 126 884 786 incorporated in Western Australia
is a Private Health Insurer under the Private Health Insurance Act 2007.
The liability of its constitutional members is limited; HBF Insurance 
Pty Ltd ABN 11 009 268 277; HBF Financial Services Pty Ltd 
ABN 18 009 123 675. The information contained in this email and any 
attachment is intended solely for the named recipients. It may contain 
material or information that is confidential and/or legally privileged 
material. It is also subject to copyright. If you are not the intended 
recipient please advise us immediately by return email or contact a 
Member Service Advisor on 133 423 and delete the email and any 
attachments. Any use or disclosure of the contents of either is 
unauthorised and may be unlawful. Any personal information in this email
must be handled in accordance with the Privacy Act 1988 (Cth). The views
expressed in this email are those of the author and do not represent 
those of HBF unless clearly indicated.
=======================================================================

Mime
View raw message