I have class:
@WebServiceClient(name = "Test", wsdlLocation = ????)
public class WSSerfvice
extends Service
To wsdlLocation I need to set variable, value of the variable will set by case. But my wsdlLocation
ask my for a constant, by I don't know for sure which value I will have to set to wsdlLocation
I have Global class wher I set wsdlLocation for class above to set ???:
String wsdlLocation;
if(env.toLowerCase().equals("case1")) {
wsdlLocation = "case1"
} else (env.toLowerCase().equals("case2")) {
wsdlLocation = "case2"
}
If I make wsdlLocation final compile exception.
How can I set variable to my ???? in annotation