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

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

There is a newer version: 4.0.5
Show newest version
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.2.13
 * 2020-03-24T14:10:07.776-04:00
 * Generated source version: 3.2.13
 *
 */
@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 = "2020-03-24T14:10:07.776-04:00", comments = "Apache CXF 3.2.13")
public class Discovery extends Service {

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2020-03-24T14:10:07.776-04:00")
    public final static URL WSDL_LOCATION;

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2020-03-24T14:10:07.776-04: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 = "2020-03-24T14:10:07.776-04: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 = "2020-03-24T14:10:07.776-04: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 = "2020-03-24T14:10:07.776-04:00")
    public Discovery(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2020-03-24T14:10:07.776-04:00")
    public Discovery(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2020-03-24T14:10:07.776-04:00")
    public Discovery() {
        super(WSDL_LOCATION, SERVICE);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2020-03-24T14:10:07.776-04:00")
    public Discovery(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2020-03-24T14:10:07.776-04:00")
    public Discovery(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2020-03-24T14:10:07.776-04: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 = "2020-03-24T14:10:07.776-04: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 = "2020-03-24T14:10:07.776-04: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 = "2020-03-24T14:10:07.776-04: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 = "2020-03-24T14:10:07.776-04:00")
    public DiscoveryProxy getDiscoveryUDP(WebServiceFeature... features) {
        return super.getPort(DiscoveryUDP, DiscoveryProxy.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy