Gds2AfgifteServiceV20170401Service.java

package nl.kadaster.schemas.gds2.service.afgifte.v20170401;

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


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.3.6
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "Gds2AfgifteService_v20170401Service", targetNamespace = "http://www.kadaster.nl/schemas/gds2/service/afgifte/v20170401", wsdlLocation = "/schemas/gds2/service/afgifte/v20170401/Gds2Afgifte_AfgifteService_v2_0.wsdl")
public class Gds2AfgifteServiceV20170401Service
    extends Service
{

    private static final URL GDS2AFGIFTESERVICEV20170401SERVICE_WSDL_LOCATION;
    private static final WebServiceException GDS2AFGIFTESERVICEV20170401SERVICE_EXCEPTION;
    private static final QName GDS2AFGIFTESERVICEV20170401SERVICE_QNAME = new QName("http://www.kadaster.nl/schemas/gds2/service/afgifte/v20170401", "Gds2AfgifteService_v20170401Service");

    static {
        GDS2AFGIFTESERVICEV20170401SERVICE_WSDL_LOCATION = nl.kadaster.schemas.gds2.service.afgifte.v20170401.Gds2AfgifteServiceV20170401Service.class.getResource("/schemas/gds2/service/afgifte/v20170401/Gds2Afgifte_AfgifteService_v2_0.wsdl");
        WebServiceException e = null;
        if (GDS2AFGIFTESERVICEV20170401SERVICE_WSDL_LOCATION == null) {
            e = new WebServiceException("Cannot find '/schemas/gds2/service/afgifte/v20170401/Gds2Afgifte_AfgifteService_v2_0.wsdl' wsdl. Place the resource correctly in the classpath.");
        }
        GDS2AFGIFTESERVICEV20170401SERVICE_EXCEPTION = e;
    }

    public Gds2AfgifteServiceV20170401Service() {
        super(__getWsdlLocation(), GDS2AFGIFTESERVICEV20170401SERVICE_QNAME);
    }

    public Gds2AfgifteServiceV20170401Service(WebServiceFeature... features) {
        super(__getWsdlLocation(), GDS2AFGIFTESERVICEV20170401SERVICE_QNAME, features);
    }

    public Gds2AfgifteServiceV20170401Service(URL wsdlLocation) {
        super(wsdlLocation, GDS2AFGIFTESERVICEV20170401SERVICE_QNAME);
    }

    public Gds2AfgifteServiceV20170401Service(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, GDS2AFGIFTESERVICEV20170401SERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns Gds2AfgifteServiceV20170401
     */
    @WebEndpoint(name = "AGds2AfgifteService_v20170401")
    public Gds2AfgifteServiceV20170401 getAGds2AfgifteServiceV20170401() {
        return super.getPort(new QName("http://www.kadaster.nl/schemas/gds2/service/afgifte/v20170401", "AGds2AfgifteService_v20170401"), Gds2AfgifteServiceV20170401.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 Gds2AfgifteServiceV20170401
     */
    @WebEndpoint(name = "AGds2AfgifteService_v20170401")
    public Gds2AfgifteServiceV20170401 getAGds2AfgifteServiceV20170401(WebServiceFeature... features) {
        return super.getPort(new QName("http://www.kadaster.nl/schemas/gds2/service/afgifte/v20170401", "AGds2AfgifteService_v20170401"), Gds2AfgifteServiceV20170401.class, features);
    }

    private static URL __getWsdlLocation() {
        if (GDS2AFGIFTESERVICEV20170401SERVICE_EXCEPTION!= null) {
            throw GDS2AFGIFTESERVICEV20170401SERVICE_EXCEPTION;
        }
        return GDS2AFGIFTESERVICEV20170401SERVICE_WSDL_LOCATION;
    }

}