
package ws;

import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.4-b01-
 * Generated source version: 2.1
 * 
 */
@WebServiceClient(name = "SolicitudesService", targetNamespace = "http://ws/", wsdlLocation = "http://localhost:8080/EnterpriseServer-war/SolicitudesService?WSDL")
public class SolicitudesService
    extends Service
{

    private final static URL SOLICITUDESSERVICE_WSDL_LOCATION;
    private final static Logger logger = Logger.getLogger(ws.SolicitudesService.class.getName());

    static {
        URL url = null;
        try {
            URL baseUrl;
            baseUrl = ws.SolicitudesService.class.getResource(".");
            url = new URL(baseUrl, "http://localhost:8080/EnterpriseServer-war/SolicitudesService?WSDL");
        } catch (MalformedURLException e) {
            logger.warning("Failed to create URL for the wsdl Location: 'http://localhost:8080/EnterpriseServer-war/SolicitudesService?WSDL', retrying as a local file");
            logger.warning(e.getMessage());
        }
        SOLICITUDESSERVICE_WSDL_LOCATION = url;
    }

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

    public SolicitudesService() {
        super(SOLICITUDESSERVICE_WSDL_LOCATION, new QName("http://ws/", "SolicitudesService"));
    }

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

}
