
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 = "PersonalService", targetNamespace = "http://service.planillaws.siso.pe/", wsdlLocation = "http://app9.sacooliveros.edu.pe:8080/PlanillaWS/PersonalService?WSDL")
public class PersonalService_Service
    extends Service
{

    private final static URL PERSONALSERVICE_WSDL_LOCATION;
    private final static WebServiceException PERSONALSERVICE_EXCEPTION;
    private final static QName PERSONALSERVICE_QNAME = new QName("http://service.planillaws.siso.pe/", "PersonalService");

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

    public PersonalService_Service() {
        super(__getWsdlLocation(), PERSONALSERVICE_QNAME);
    }

    public PersonalService_Service(WebServiceFeature... features) {
        super(__getWsdlLocation(), PERSONALSERVICE_QNAME, features);
    }

    public PersonalService_Service(URL wsdlLocation) {
        super(wsdlLocation, PERSONALSERVICE_QNAME);
    }

    public PersonalService_Service(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, PERSONALSERVICE_QNAME, features);
    }

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

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

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

    private static URL __getWsdlLocation() {
        if (PERSONALSERVICE_EXCEPTION!= null) {
            throw PERSONALSERVICE_EXCEPTION;
        }
        return PERSONALSERVICE_WSDL_LOCATION;
    }

}
