package at.gv.util.wsdl.mis_v2;

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.1.10
 * 2019-09-30T16:58:56.124+02:00
 * Generated source version: 3.1.10
 * 
 */
@WebServiceClient(name = "GetMandatesService", 
                  wsdlLocation = "file:./src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.wsdl",
                  targetNamespace = "http://reference.e-government.gv.at/namespace/mandates/mis/2.0/wsdl") 
public class GetMandatesService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://reference.e-government.gv.at/namespace/mandates/mis/2.0/wsdl", "GetMandatesService");
    public final static QName GetMandatesPort = new QName("http://reference.e-government.gv.at/namespace/mandates/mis/2.0/wsdl", "GetMandatesPort");
    static {
        URL url = null;
        try {
            url = new URL("file:./src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(GetMandatesService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:./src/main/resources/wsdl/mis/mis_2.0/mis-2.0.0.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

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

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

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




    /**
     *
     * @return
     *     returns GetMandatesPortType
     */
    @WebEndpoint(name = "GetMandatesPort")
    public GetMandatesPortType getGetMandatesPort() {
        return super.getPort(GetMandatesPort, GetMandatesPortType.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 GetMandatesPortType
     */
    @WebEndpoint(name = "GetMandatesPort")
    public GetMandatesPortType getGetMandatesPort(WebServiceFeature... features) {
        return super.getPort(GetMandatesPort, GetMandatesPortType.class, features);
    }

}