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 Joe McIntyre <to...@yahoo.com> on 2002/08/25 04:37:59 UTC
Constants class generation
A common programming construct is the list of
constants that can be combined.
What is the correct way to define a list of constants
in WSDL such that the code generated by WSDL2Java will
result in a class containing a list of constant
definitions.
For example, the output of WSDL2Java resulting in,
class MyClass
{
public static int MY_CONSTANT_1 = 1;
public static int MY_CONSTANT_2 = 2;
public static int MY_CONSTANT_3 = 4;
public static int MY_CONSTANT_4 = 8;
}
Thanks in advance.
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com