package at.gv.util.wsdl.ur_V2;

import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;

/**
 * This class was generated by Apache CXF 3.0.1
 * 2014-10-16T12:00:01.097+02:00
 * Generated source version: 3.0.1
 * 
 */
@WebServiceClient(name = "URSucheService", 
                  wsdlLocation = "./src/main/resources/wsdl/ur_V2/URSucheService.wsdl",
                  targetNamespace = "urn:at:statistik:ur:ws") 
public class URSucheService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("urn:at:statistik:ur:ws", "URSucheService");
    public final static QName URSucheService = new QName("urn:at:statistik:ur:ws", "URSucheService");
    static {
        URL url = URSucheService.class.getResource("./src/main/resources/wsdl/ur_V2/URSucheService.wsdl");
        if (url == null) {
            url = URSucheService.class.getClassLoader().getResource("./src/main/resources/wsdl/ur_V2/URSucheService.wsdl");
        } 
        if (url == null) {
            java.util.logging.Logger.getLogger(URSucheService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "./src/main/resources/wsdl/ur_V2/URSucheService.wsdl");
        }       
        WSDL_LOCATION = url;
    }

    public URSucheService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

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

    public URSucheService() {
        super(WSDL_LOCATION, SERVICE);
    }
    
    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public URSucheService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public URSucheService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public URSucheService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }    

    /**
     *
     * @return
     *     returns URSuche
     */
    @WebEndpoint(name = "URSucheService")
    public URSuche getURSucheService() {
        return super.getPort(URSucheService, URSuche.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 URSuche
     */
    @WebEndpoint(name = "URSucheService")
    public URSuche getURSucheService(WebServiceFeature... features) {
        return super.getPort(URSucheService, URSuche.class, features);
    }

}