Webサービスを作成するときに、どういうわけか静的文字列変数を使用できますか?
@WebService(
portName = Util.PORT,
serviceName = Util.SERVICE,
targetNamespace = ...,
endpointInterface = ...)
public class MyWsClass implements WsInterface
結果:
The value for annotation attribute WebService.portName must be a constant expression
では、静的変数を使用できませんか?