
package pe.siso.planillaws.service;

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.11-b150120.1832
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "TipoDocumentoService", targetNamespace = "http://service.planillaws.siso.pe/", wsdlLocation = "http://app9.sacooliveros.edu.pe:8080/PlanillaWS/TipoDocumentoService?WSDL")
public class TipoDocumentoService_Service
    extends Service
{

    private final static URL TIPODOCUMENTOSERVICE_WSDL_LOCATION;
    private final static WebServiceException TIPODOCUMENTOSERVICE_EXCEPTION;
    private final static QName TIPODOCUMENTOSERVICE_QNAME = new QName("http://service.planillaws.siso.pe/", "TipoDocumentoService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://app9.sacooliveros.edu.pe:8080/PlanillaWS/TipoDocumentoService?WSDL");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        TIPODOCUMENTOSERVICE_WSDL_LOCATION = url;
        TIPODOCUMENTOSERVICE_EXCEPTION = e;
    }

    public TipoDocumentoService_Service() {
        super(__getWsdlLocation(), TIPODOCUMENTOSERVICE_QNAME);
    }

    public TipoDocumentoService_Service(WebServiceFeature... features) {
        super(__getWsdlLocation(), TIPODOCUMENTOSERVICE_QNAME, features);
    }

    public TipoDocumentoService_Service(URL wsdlLocation) {
        super(wsdlLocation, TIPODOCUMENTOSERVICE_QNAME);
    }

    public TipoDocumentoService_Service(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, TIPODOCUMENTOSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns TipoDocumentoService
     */
    @WebEndpoint(name = "TipoDocumentoServicePort")
    public TipoDocumentoService getTipoDocumentoServicePort() {
        return super.getPort(new QName("http://service.planillaws.siso.pe/", "TipoDocumentoServicePort"), TipoDocumentoService.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 TipoDocumentoService
     */
    @WebEndpoint(name = "TipoDocumentoServicePort")
    public TipoDocumentoService getTipoDocumentoServicePort(WebServiceFeature... features) {
        return super.getPort(new QName("http://service.planillaws.siso.pe/", "TipoDocumentoServicePort"), TipoDocumentoService.class, features);
    }

    private static URL __getWsdlLocation() {
        if (TIPODOCUMENTOSERVICE_EXCEPTION!= null) {
            throw TIPODOCUMENTOSERVICE_EXCEPTION;
        }
        return TIPODOCUMENTOSERVICE_WSDL_LOCATION;
    }

}
