
package servicio;

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.10-b140803.1500
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "Servidor", targetNamespace = "http://Servicio/", wsdlLocation = "http://localhost:8080/WSCalendario/Servidor?wsdl")
public class Servidor_Service
    extends Service
{

    private final static URL SERVIDOR_WSDL_LOCATION;
    private final static WebServiceException SERVIDOR_EXCEPTION;
    private final static QName SERVIDOR_QNAME = new QName("http://Servicio/", "Servidor");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://localhost:8080/WSCalendario/Servidor?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        SERVIDOR_WSDL_LOCATION = url;
        SERVIDOR_EXCEPTION = e;
    }

    public Servidor_Service() {
        super(__getWsdlLocation(), SERVIDOR_QNAME);
    }

    public Servidor_Service(WebServiceFeature... features) {
        super(__getWsdlLocation(), SERVIDOR_QNAME, features);
    }

    public Servidor_Service(URL wsdlLocation) {
        super(wsdlLocation, SERVIDOR_QNAME);
    }

    public Servidor_Service(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, SERVIDOR_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns Servidor
     */
    @WebEndpoint(name = "ServidorPort")
    public Servidor getServidorPort() {
        return super.getPort(new QName("http://Servicio/", "ServidorPort"), Servidor.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 Servidor
     */
    @WebEndpoint(name = "ServidorPort")
    public Servidor getServidorPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://Servicio/", "ServidorPort"), Servidor.class, features);
    }

    private static URL __getWsdlLocation() {
        if (SERVIDOR_EXCEPTION!= null) {
            throw SERVIDOR_EXCEPTION;
        }
        return SERVIDOR_WSDL_LOCATION;
    }

}
