package cn.hnthyy.thmz.webservice.lis;

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.3.6
 * 2020-05-25T16:35:58.619+08:00
 * Generated source version: 3.3.6
 *
 */
@WebServiceClient(name = "CriticalMessageService",
                  wsdlLocation = "wsdl/CriticalMessageService.wsdl",
                  targetNamespace = "http://www.hnthyy.cn")
public class CriticalMessageService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://www.hnthyy.cn", "CriticalMessageService");
    public final static QName CriticalMessageServiceSoap12 = new QName("http://www.hnthyy.cn", "CriticalMessageServiceSoap12");
    public final static QName CriticalMessageServiceSoap = new QName("http://www.hnthyy.cn", "CriticalMessageServiceSoap");
    static {
        URL url = null;
        try {
            url = new URL("wsdl/CriticalMessageService.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(CriticalMessageService.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "wsdl/CriticalMessageService.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

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

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

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

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




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


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

}
