I haven't tried it, but perhaps you could use the following:

public final int getTYPE_FOREIGN() {
  return 0;
}

This might persuade the bean serializer to emit the TYPE_FOREIGN
property for you.

Hope this helps
Keith


-----Original Message-----
From: Thomas Drumm [mailto:[EMAIL PROTECTED] 
Sent: 08 November 2005 10:54
To: [email protected]
Subject: AXIS bean serializer and public final static


Hi everybody,
 
I'm using AXIS' own bean serializer for the beans that I'm transporting
to and from my webservices.
 
However, I can't make it expose the constants in the beans. They are
defined as this:
 
public final static int TYPE_FOREIGN = 0;
 
What I want is a way to offer these constants to the clients, so that
they don't need to define them themselves. I can't find anything as to
why, or if I'm trying a wrong approach.

Thanks in advance!
 
Thomas

Reply via email to