You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Antonio Casqueiro <ac...@yahoo.co.uk> on 2005/03/21 16:14:30 UTC

Java2WSDL losing parameter names

Hello!

Everytime I use Java2Wdsl I lose the name of my service parameters:

Example:

public class MySample {
    private String name;
    public void setName() {
        this.name = name;
    }
    public String getName() {
        return name;
    }
}

public interface test {
    public MySample getSample(MySample myParam, String dummy);
}

The generated "wsdl" loses the "myParam" and "dummy" and instead has 
"in0" and "in1".

Is there a way to keep my custom names?

Thanks