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 Stuart Barlow <sb...@peopledoc.com> on 2004/01/27 15:09:23 UTC

enum and non-capitalized name

In my original class I have...

public final static String REDIRECTTO = "redirectTo";

After going on the round trip using Java2WSDL and WSDL to Java
my client bindings have...

public static final java.lang.String _redirectTo = "redirectTo";

The WSDL looks good. It contains the defn...

<enumeration value="redirectTo"/>

It would be much nicer if the WSDL2Java tool could at least make
the attribute name capitalized. So the bindings would be...

public static final java.lang.String REDIRECTTO = "redirectTo";

In this way both my web service clients and local clients could
use the same code. This would make the AXIS tools much more
usable.
Is it a kind of Java standard that public final static names are
capitalized?

Ta,
Stuart.