"Although technically possible (there is a constructor has a parameter that takes WebServiceFeature ... feature)."
But I don't see any child class of Service class that has such a constructor.
Typically, I only see something like this:
Code: Select all
@WebServiceClient(...)
public class ExampleService extends Service {
public ExampleService(){
super(WSLD_LOCATION, new QName(....));
}
public ExampleService(URL wsdlLocation, QName serviceName){
super(wsdlLocation, serviceName);
}
}