标签: java eclipse web-services webservice-client
我使用wsdl2java生成一个Web服务客户端,
@WebServiceClient(name = "XX", wsdlLocation = "http://localhost:8080/YY?wsdl")
所以,我的问题是: 是否可以向wsdllocation添加变量?
String var ="http://localhost:8080"; @WebServiceClient(name = "XX", wsdlLocation = var+"/YY?wsdl")