All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.cxf.ws.discovery.wsdl.Discovery Maven / Gradle / Ivy

package org.apache.cxf.ws.discovery.wsdl;

import java.net.URL;
import javax.annotation.Generated;
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.3
 * 2014-12-02T21:29:49.559-05:00
 * Generated source version: 3.0.3
 * 
 */
@WebServiceClient(name = "Discovery", 
                  wsdlLocation = "classpath:/org/apache/cxf/ws/discovery/wsdl/wsdd-discovery-1.1-wsdl-os.wsdl",
                  targetNamespace = "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01") 
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00", comments = "Apache CXF 3.0.3")
public class Discovery extends Service {

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public final static URL WSDL_LOCATION;

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public final static QName SERVICE = new QName("http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01", "Discovery");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public final static QName DiscoveryProxy = new QName("http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01", "DiscoveryProxy");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public final static QName DiscoveryUDP = new QName("http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01", "DiscoveryUDP");
    static {
        URL url = Discovery.class.getClassLoader().getResource("/org/apache/cxf/ws/discovery/wsdl/wsdd-discovery-1.1-wsdl-os.wsdl");
        if (url == null) {
            url = Discovery.class.getClassLoader().getResource("org/apache/cxf/ws/discovery/wsdl/wsdd-discovery-1.1-wsdl-os.wsdl");
        }
        if (url == null) {
            java.util.logging.Logger.getLogger(Discovery.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "classpath:/org/apache/cxf/ws/discovery/wsdl/wsdd-discovery-1.1-wsdl-os.wsdl");
        }       
        WSDL_LOCATION = url;   
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public Discovery(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public Discovery(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public Discovery() {
        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.
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public Discovery(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.
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public Discovery(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.
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public Discovery(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }    

    /**
     *
     * @return
     *     returns DiscoveryProxy
     */
    @WebEndpoint(name = "DiscoveryProxy")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public DiscoveryProxy getDiscoveryProxy() {
        return super.getPort(DiscoveryProxy, DiscoveryProxy.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the features parameter will have their default values.
     * @return
     *     returns DiscoveryProxy
     */
    @WebEndpoint(name = "DiscoveryProxy")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public DiscoveryProxy getDiscoveryProxy(WebServiceFeature... features) {
        return super.getPort(DiscoveryProxy, DiscoveryProxy.class, features);
    }
    /**
     *
     * @return
     *     returns DiscoveryProxy
     */
    @WebEndpoint(name = "DiscoveryUDP")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public DiscoveryProxy getDiscoveryUDP() {
        return super.getPort(DiscoveryUDP, DiscoveryProxy.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the features parameter will have their default values.
     * @return
     *     returns DiscoveryProxy
     */
    @WebEndpoint(name = "DiscoveryUDP")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2014-12-02T21:29:49.559-05:00")
    public DiscoveryProxy getDiscoveryUDP(WebServiceFeature... features) {
        return super.getPort(DiscoveryUDP, DiscoveryProxy.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy