Hi Jay,

I had the same (?) type of problem some days ago. The answers of Anne Thomas 
Manes and Paul Bouche cleared things for me. Look at the Thread with subject 
'Using axis ant task with typed enums'.

HTH,
Ulrich

[email protected] schrieb am 07.03.05 19:44:59:

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


______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

Reply via email to