package nl.competent.gbav.v1;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;

/**
 * This class was generated by Apache CXF 3.4.1
 * 2021-01-28T17:19:09.134Z
 * Generated source version: 3.4.1
 *
 */
@WebServiceClient(name = "CompetentService",
                  wsdlLocation = "file:/home/jenkins/agent/workspace/l-interfaces-gbav_release_0.0.35/client/src/main/resources/META-INF/wsdl/competentService.wsdl",
                  targetNamespace = "http://www.competent.nl/gbav/v1")
public class CompetentService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://www.competent.nl/gbav/v1", "CompetentService");
    public final static QName CompetentPort = new QName("http://www.competent.nl/gbav/v1", "CompetentPort");
    static {
        URL url = null;
        try {
            url = new URL("file:/home/jenkins/agent/workspace/l-interfaces-gbav_release_0.0.35/client/src/main/resources/META-INF/wsdl/competentService.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(CompetentService.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "file:/home/jenkins/agent/workspace/l-interfaces-gbav_release_0.0.35/client/src/main/resources/META-INF/wsdl/competentService.wsdl");
        }
        WSDL_LOCATION = url;
    }

    public CompetentService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    public CompetentService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public CompetentService() {
        super(WSDL_LOCATION, SERVICE);
    }

    public CompetentService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    public CompetentService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    public CompetentService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }




    /**
     *
     * @return
     *     returns CompetentPort
     */
    @WebEndpoint(name = "CompetentPort")
    public CompetentPort getCompetentPort() {
        return super.getPort(CompetentPort, CompetentPort.class);
    }

    /**
     *
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns CompetentPort
     */
    @WebEndpoint(name = "CompetentPort")
    public CompetentPort getCompetentPort(WebServiceFeature... features) {
        return super.getPort(CompetentPort, CompetentPort.class, features);
    }

}
