I have a class with public internal constants. For example:
Public class TapeDrive {
public static final int PLAY = 1;
public static final int PAUSE = 2;
public static final int STOP = 3;
public static final int FF = 4;
public static final int REW = 5;
...
public void setAction( int act ) {
...
I'm using the bean serializer to export my bean.
I want my soap clients to be able to see these constants so that they
can understand the meanings of the possible values for the setAction()
method.
Is there any way that I can configure my bean so that the constants are
exported? Or, am I limited because of SOAP (i.e.: does SOAP allow the
concept of constants, or is it limited to just methods and structures?)
Thanks
PS: Please don't say "write a custom serializer", as no one has
effectively answered my questions concerning my problems with custom
serializers
(http://marc.theaimsgroup.com/?l=axis-user&m=111003930120769&w=2)
JDG
---
Jay Glanville