为了兼容jdk1.6,我把features变量给删除了,如何你的jdk是1.7的你可以添加上即可
//compliant code instead.
public IpAddressSearchWebService(WebServiceFeature... features)
{
super(WSDL_LOCATION, SERVICE,features);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public IpAddressSearchWebService(URL wsdlLocation, WebServiceFeature... features)
{
super(wsdlLocation, SERVICE,features);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public IpAddressSearchWebService(URL wsdlLocation, QName serviceName, WebServiceFeature... features)
{
super(wsdlLocation, serviceName,features);
}
1