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 Mik <ws...@gmail.com> on 2005/08/17 12:21:24 UTC

There is any way to expose constants in web services using axis??

Hello.
My question is: 
There is any known way toexpose constants making use of axis1.2 :

server side:

class State implements Serializable {
 public static final String CONSTANT_1="CONSTANT_1";

 public static final String CONSTANT_2="CONSTANT_2";

}


client side:

myWebService.setState(State.CONSTANT_1);

I mean generating code from java2wsdl does not seem to generate static
or final constants.

Thanks in advance.