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

org.apache.cxf.wsn.jaxws.NotificationConsumerService Maven / Gradle / Ivy

The newest version!
package org.apache.cxf.wsn.jaxws;

import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import jakarta.annotation.Generated;
import javax.xml.namespace.QName;
import jakarta.xml.ws.WebEndpoint;
import jakarta.xml.ws.WebServiceClient;
import jakarta.xml.ws.WebServiceFeature;
import jakarta.xml.ws.Service;
import org.oasis_open.docs.wsn.bw_2.NotificationConsumer;

/**
 * This class was generated by Apache CXF 4.0.5
 * 2024-07-11T18:15:27.972-04:00
 * Generated source version: 4.0.5
 *
 */
@WebServiceClient(name = "NotificationConsumerService",
                  wsdlLocation = "file:/Users/ffang/projects/cxf-release-2024july/target/checkout/services/wsn/wsn-api/src/main/resources/org/apache/cxf/wsn/wsdl/wsn.wsdl",
                  targetNamespace = "http://cxf.apache.org/wsn/jaxws")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00", comments = "Apache CXF 4.0.5")
public class NotificationConsumerService extends Service {

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public static final URL WSDL_LOCATION;

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public static final QName SERVICE = new QName("http://cxf.apache.org/wsn/jaxws", "NotificationConsumerService");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public static final QName NotificationConsumerPort = new QName("http://cxf.apache.org/wsn/jaxws", "NotificationConsumerPort");
    static {
        URL url = null;
        try {
            url = URI.create("file:/Users/ffang/projects/cxf-release-2024july/target/checkout/services/wsn/wsn-api/src/main/resources/org/apache/cxf/wsn/wsdl/wsn.wsdl").toURL();
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(NotificationConsumerService.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "file:/Users/ffang/projects/cxf-release-2024july/target/checkout/services/wsn/wsn-api/src/main/resources/org/apache/cxf/wsn/wsdl/wsn.wsdl");
        }
        WSDL_LOCATION = url;
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public NotificationConsumerService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public NotificationConsumerService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public NotificationConsumerService() {
        super(WSDL_LOCATION, SERVICE);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public NotificationConsumerService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public NotificationConsumerService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public NotificationConsumerService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }




    /**
     *
     * @return
     *     returns NotificationConsumer
     */
    @WebEndpoint(name = "NotificationConsumerPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public NotificationConsumer getNotificationConsumerPort() {
        return super.getPort(NotificationConsumerPort, NotificationConsumer.class);
    }

    /**
     *
     * @param features
     *     A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the features parameter will have their default values.
     * @return
     *     returns NotificationConsumer
     */
    @WebEndpoint(name = "NotificationConsumerPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2024-07-11T18:15:27.972-04:00")
    public NotificationConsumer getNotificationConsumerPort(WebServiceFeature... features) {
        return super.getPort(NotificationConsumerPort, NotificationConsumer.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy