
package org.tempuri;

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.6-1b01 
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "ServiceConsultaRUC", targetNamespace = "http://tempuri.org/", wsdlLocation = "http://servicioateneoprueba.dgi.gob.ni/ServiceConsultaRUC.svc?wsdl")
public class ServiceConsultaRUC
    extends Service
{

    private final static URL SERVICECONSULTARUC_WSDL_LOCATION;
    private final static WebServiceException SERVICECONSULTARUC_EXCEPTION;
    private final static QName SERVICECONSULTARUC_QNAME = new QName("http://tempuri.org/", "ServiceConsultaRUC");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://servicioateneoprueba.dgi.gob.ni/ServiceConsultaRUC.svc?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        SERVICECONSULTARUC_WSDL_LOCATION = url;
        SERVICECONSULTARUC_EXCEPTION = e;
    }

    public ServiceConsultaRUC() {
        super(__getWsdlLocation(), SERVICECONSULTARUC_QNAME);
    }

    public ServiceConsultaRUC(WebServiceFeature... features) {
        super(__getWsdlLocation(), SERVICECONSULTARUC_QNAME, features);
    }

    public ServiceConsultaRUC(URL wsdlLocation) {
        super(wsdlLocation, SERVICECONSULTARUC_QNAME);
    }

    public ServiceConsultaRUC(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, SERVICECONSULTARUC_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns IServiceConsultaRUC
     */
    @WebEndpoint(name = "BasicHttpBinding_IServiceConsultaRUC")
    public IServiceConsultaRUC getBasicHttpBindingIServiceConsultaRUC() {
        return super.getPort(new QName("http://tempuri.org/", "BasicHttpBinding_IServiceConsultaRUC"), IServiceConsultaRUC.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 IServiceConsultaRUC
     */
    @WebEndpoint(name = "BasicHttpBinding_IServiceConsultaRUC")
    public IServiceConsultaRUC getBasicHttpBindingIServiceConsultaRUC(WebServiceFeature... features) {
        return super.getPort(new QName("http://tempuri.org/", "BasicHttpBinding_IServiceConsultaRUC"), IServiceConsultaRUC.class, features);
    }

    private static URL __getWsdlLocation() {
        if (SERVICECONSULTARUC_EXCEPTION!= null) {
            throw SERVICECONSULTARUC_EXCEPTION;
        }
        return SERVICECONSULTARUC_WSDL_LOCATION;
    }

}
