
package com.ejie.ad74a.ws.client.documentosWeb;

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;


/**
 * OSB Service
 * 
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.3.0-b170214.1743
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "documentoWebService", targetNamespace = "http://com.ejie.ab57b.webservice", wsdlLocation = "META-INF/wsdls/ab57bDocumentoWebService.wsdl")
public class DocumentoWebService
    extends Service
{

    private final static URL DOCUMENTOWEBSERVICE_WSDL_LOCATION;
    private final static WebServiceException DOCUMENTOWEBSERVICE_EXCEPTION;
    private final static QName DOCUMENTOWEBSERVICE_QNAME = new QName("http://com.ejie.ab57b.webservice", "documentoWebService");

    static {
        WebServiceException e = null;
        URL url = null;
        try {
            url = new URL(com.ejie.ad74a.ws.client.documentosWeb.DocumentoWebService.class.getResource("."), "META-INF/wsdls/ab57bDocumentoWebService.wsdl");
        } catch (MalformedURLException murl) {
            e = new WebServiceException(murl);
        }
        DOCUMENTOWEBSERVICE_WSDL_LOCATION = url;
        DOCUMENTOWEBSERVICE_EXCEPTION = e;
    }

    public DocumentoWebService() {
        super(__getWsdlLocation(), DOCUMENTOWEBSERVICE_QNAME);
    }

    public DocumentoWebService(WebServiceFeature... features) {
        super(__getWsdlLocation(), DOCUMENTOWEBSERVICE_QNAME, features);
    }

    public DocumentoWebService(URL wsdlLocation) {
        super(wsdlLocation, DOCUMENTOWEBSERVICE_QNAME);
    }

    public DocumentoWebService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, DOCUMENTOWEBSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns DocumentoWebServiceImpl
     */
    @WebEndpoint(name = "documentoWebServicePort")
    public DocumentoWebServiceImpl getDocumentoWebServicePort() {
        return super.getPort(new QName("http://com.ejie.ab57b.webservice", "documentoWebServicePort"), DocumentoWebServiceImpl.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 DocumentoWebServiceImpl
     */
    @WebEndpoint(name = "documentoWebServicePort")
    public DocumentoWebServiceImpl getDocumentoWebServicePort(WebServiceFeature... features) {
        return super.getPort(new QName("http://com.ejie.ab57b.webservice", "documentoWebServicePort"), DocumentoWebServiceImpl.class, features);
    }

    private static URL __getWsdlLocation() {
        if (DOCUMENTOWEBSERVICE_EXCEPTION!= null) {
            throw DOCUMENTOWEBSERVICE_EXCEPTION;
        }
        return DOCUMENTOWEBSERVICE_WSDL_LOCATION;
    }

}
