项目调用的服务地址有多个没次都要到wsdljava文件中改,很麻烦啊。
@WebServiceClient(name = "CertBaseApiImpl", targetNamespace = "http://fi.mx.com/", wsdlLocation = "http://172.0.0.1/BaseApi.ws?wsdl")
public class BaseApiImpl
extends Service
{
private final static URL CERTBASEAPIIMPL_WSDL_LOCATION;
private final static WebServiceException CERTBASEAPIIMPL_EXCEPTION;
private final static QName CERTBASEAPIIMPL_QNAME = new QName("http://fi.mx.com/", "BaseApiImpl");
static {
URL url = null;
WebServiceException e = null;
try {
url = new URL("http://172.0.0.1/BaseApi.ws?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
这两个地址怎么配置出来???