axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kahler, Jason J \(US SSA\)" <jason.kah...@baesystems.com>
Subject WSDLtoJava generates bizare code
Date Wed, 22 Mar 2006 14:21:43 GMT

When I run wsdl2java on a certain wsdl file is generates code like this:


public class VectorType  extends double[]  implements
java.io.Serializable {
    private org.apache.axis.types.PositiveInteger dimension;  //
attribute

    public VectorType() {
    }

    // Simple Types must have a String constructor
    public VectorType(double[] _value) {
        super(_value);
    }

Is it even legal to extend double[] ?

And of course there is no Object constructor that takes a double[]. What
is going on here?


Thanks;
Jay Kahler


Mime
View raw message