Hi everyone, this is probabaly a huge trivial question, yet I can't figure it out... so I'm not sure if it even does it.
I want to be able to use constants when I generate the WSDL file (and of course in stub classes when generated from WSDL). This is like the only thing while implementing a web service that I couldn't figure out. Say I have a class like this: package servicetest; public class MyClass { public static final String SOME_STRING = "Option1"; ..etc..etc... } How do I have it so that JAVA2WSDL put in the constant definition for SOME_STRING in the WSDL so when I run WSDL2JAVA it generates the constants? Here's the command I used with JAVA2WSDL java org.apache.axis.wsdl.Java2WSDL -o servicetest.wsdl -l"http://localhost:8080/axis/services/StringService" -e"servicetest.MyClass" -n"urn:servicetest" -p"servicetest" "urn:servicetest" servicetest.StringService Thanks in advance, Kaleem