package thyyxxk.webserver.service.examinations.lis;

import java.net.MalformedURLException;
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.2.9-b130926.1035
 * Generated source version: 2.2
 */
@WebServiceClient(name = "PushService", targetNamespace = "http://www.elims.com.cn/", wsdlLocation = "http://172.16.32.178:622/pushservice.asmx?wsdl")
public class PushService extends Service {

    private final static URL PUSHSERVICE_WSDL_LOCATION;
    private final static WebServiceException PUSHSERVICE_EXCEPTION;
    private final static QName PUSHSERVICE_QNAME = new QName("http://www.elims.com.cn/", "PushService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://172.16.32.178:622/pushservice.asmx?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        PUSHSERVICE_WSDL_LOCATION = url;
        PUSHSERVICE_EXCEPTION = e;
    }

    public PushService() {
        super(__getWsdlLocation(), PUSHSERVICE_QNAME);
    }

    public PushService(WebServiceFeature... features) {
        super(__getWsdlLocation(), PUSHSERVICE_QNAME, features);
    }

    public PushService(URL wsdlLocation) {
        super(wsdlLocation, PUSHSERVICE_QNAME);
    }

    public PushService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, PUSHSERVICE_QNAME, features);
    }

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

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

    private static URL __getWsdlLocation() {
        if (PUSHSERVICE_EXCEPTION != null) {
            throw PUSHSERVICE_EXCEPTION;
        }
        return PUSHSERVICE_WSDL_LOCATION;
    }

    @WebEndpoint(name = "PushServiceSoap")
    public PushServiceSoap getPushServiceSoap() {
        return super.getPort(new QName("http://www.elims.com.cn/", "PushServiceSoap"), PushServiceSoap.class);
    }

    @WebEndpoint(name = "PushServiceSoap")
    public PushServiceSoap getPushServiceSoap(WebServiceFeature... features) {
        return super.getPort(new QName("http://www.elims.com.cn/", "PushServiceSoap"), PushServiceSoap.class, features);
    }

}
