package thyyxxk.webserver.service.examinations.adicon;

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 = "Proxy", targetNamespace = "http://www.hautechs.com/", wsdlLocation = "http://172.16.32.178:623/Foreignlaboratory/Proxy.asmx?wsdl")
public class Proxy extends Service {

    private final static URL PROXY_WSDL_LOCATION;
    private final static WebServiceException PROXY_EXCEPTION;
    private final static QName PROXY_QNAME = new QName("http://www.hautechs.com/", "Proxy");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://172.16.32.178:623/Foreignlaboratory/Proxy.asmx?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        PROXY_WSDL_LOCATION = url;
        PROXY_EXCEPTION = e;
    }

    public Proxy() {
        super(__getWsdlLocation(), PROXY_QNAME);
    }

    public Proxy(WebServiceFeature... features) {
        super(__getWsdlLocation(), PROXY_QNAME, features);
    }

    public Proxy(URL wsdlLocation) {
        super(wsdlLocation, PROXY_QNAME);
    }

    public Proxy(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, PROXY_QNAME, features);
    }

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

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

    private static URL __getWsdlLocation() {
        if (PROXY_EXCEPTION != null) {
            throw PROXY_EXCEPTION;
        }
        return PROXY_WSDL_LOCATION;
    }

    /**
     * @return returns ProxySoap
     */
    @WebEndpoint(name = "ProxySoap")
    public ProxySoap getProxySoap() {
        return super.getPort(new QName("http://www.hautechs.com/", "ProxySoap"), ProxySoap.class);
    }

}
