package cz.moneta.test.dsl.cebia.schemas.iva.service;

import jakarta.xml.ws.Service;
import jakarta.xml.ws.WebEndpoint;
import jakarta.xml.ws.WebServiceClient;
import jakarta.xml.ws.WebServiceFeature;

import javax.xml.namespace.QName;
import java.net.MalformedURLException;
import java.net.URL;

/**
 * This class was generated by Apache CXF 3.2.7
 * 2019-01-29T15:43:30.880+01:00
 * Generated source version: 3.2.7
 *
 */
@WebServiceClient(name = "IvaService",
                  wsdlLocation = "file:/C:/Users/543829651/git/test-harness/src/main/resources/ws/IvaServiceActual.wsdl",
                  targetNamespace = "http://schemas.cebia.com/iva/service/")
public class IvaService_Service extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://schemas.cebia.com/iva/service/", "IvaService");
    public final static QName BasicHttpBindingIvaService = new QName("http://schemas.cebia.com/iva/service/", "BasicHttpBinding_IvaService");
    static {
        URL url = null;
        try {
            url = new URL("file:/C:/Users/543829651/git/test-harness/src/main/resources/ws/IvaServiceActual.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(IvaService_Service.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "file:/C:/Users/543829651/git/test-harness/src/main/resources/ws/IvaServiceActual.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

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

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

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

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




    /**
     *
     * @return
     *     returns IvaService
     */
    @WebEndpoint(name = "BasicHttpBinding_IvaService")
    public IvaService getBasicHttpBindingIvaService() {
        return super.getPort(BasicHttpBindingIvaService, IvaService.class);
    }

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

}
