axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Barlow <sbar...@peopledoc.com>
Subject enum and non-capitalized name
Date Tue, 27 Jan 2004 14:09:23 GMT
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.


Mime
View raw message