AddNumbersService.java

package org.apache.cxf.systest.ws.addr_feature;

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.BindingProvider;
import org.apache.cxf.endpoint.Client;
import org.apache.cxf.jaxws.CXFService;
import org.apache.cxf.Bus;
import org.apache.cxf.common.logging.LogUtils;

/**
 * This class was generated by Apache CXF 4.1.3-SNAPSHOT-22c6265d4306187569b30c5b19682b37fe7d5c5c
 * 2025-07-04T06:56:32.200Z
 * Generated source version: 4.1.3-SNAPSHOT
 *
 */
@WebServiceClient(name = "AddNumbersService",
                  wsdlLocation = "file:/src/project-parent/cxf/systests/ws-specs/src/test/resources/wsdl_systest_wsspec/add_numbers.wsdl",
                  targetNamespace = "http://apache.org/cxf/systest/ws/addr_feature/")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z", comments = "Apache CXF 4.1.3-SNAPSHOT-22c6265d4306187569b30c5b19682b37fe7d5c5c")
public class AddNumbersService extends CXFService {

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public static final URL WSDL_LOCATION;

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public static final QName SERVICE = new QName("http://apache.org/cxf/systest/ws/addr_feature/", "AddNumbersService");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public static final QName AddNumbersOnlyAnonPort = new QName("http://apache.org/cxf/systest/ws/addr_feature/", "AddNumbersOnlyAnonPort");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public static final QName AddNumbersNonAnonPort = new QName("http://apache.org/cxf/systest/ws/addr_feature/", "AddNumbersNonAnonPort");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public static final QName AddNumbersPort = new QName("http://apache.org/cxf/systest/ws/addr_feature/", "AddNumbersPort");
    static {
        URL url = null;
        try {
            url = URI.create("file:/src/project-parent/cxf/systests/ws-specs/src/test/resources/wsdl_systest_wsspec/add_numbers.wsdl").toURL();
        } catch (MalformedURLException e) {
            LogUtils.getL7dLogger(AddNumbersService.class)
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "file:/src/project-parent/cxf/systests/ws-specs/src/test/resources/wsdl_systest_wsspec/add_numbers.wsdl");
        }
        WSDL_LOCATION = url;
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersService(Bus bus, WebServiceFeature ... features) {
        super(bus, WSDL_LOCATION, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersService(Bus bus, URL wsdlLocation, WebServiceFeature ... features) {
        super(bus, wsdlLocation, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersService(Bus bus, URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(bus, wsdlLocation, serviceName, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     * Proxy interface the extends AddNumbersPortType to also provide useful methods
     * without having to cast to the appropriate interface.
     */
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public interface AddNumbersPortTypeProxy extends AddNumbersPortType, AutoCloseable, BindingProvider, Client {
    }



    /**
     *
     * @return
     *     returns AddNumbersPortType
     */
    @WebEndpoint(name = "AddNumbersOnlyAnonPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersPortTypeProxy getAddNumbersOnlyAnonPort() {
        return super.getPort(AddNumbersOnlyAnonPort, AddNumbersPortTypeProxy.class);
    }

    /**
     *
     * @param features
     *     A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns AddNumbersPortType
     */
    @WebEndpoint(name = "AddNumbersOnlyAnonPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersPortTypeProxy getAddNumbersOnlyAnonPort(WebServiceFeature... features) {
        return super.getPort(AddNumbersOnlyAnonPort, AddNumbersPortTypeProxy.class, features);
    }


    /**
     *
     * @return
     *     returns AddNumbersPortType
     */
    @WebEndpoint(name = "AddNumbersNonAnonPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersPortTypeProxy getAddNumbersNonAnonPort() {
        return super.getPort(AddNumbersNonAnonPort, AddNumbersPortTypeProxy.class);
    }

    /**
     *
     * @param features
     *     A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns AddNumbersPortType
     */
    @WebEndpoint(name = "AddNumbersNonAnonPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersPortTypeProxy getAddNumbersNonAnonPort(WebServiceFeature... features) {
        return super.getPort(AddNumbersNonAnonPort, AddNumbersPortTypeProxy.class, features);
    }


    /**
     *
     * @return
     *     returns AddNumbersPortType
     */
    @WebEndpoint(name = "AddNumbersPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersPortTypeProxy getAddNumbersPort() {
        return super.getPort(AddNumbersPort, AddNumbersPortTypeProxy.class);
    }

    /**
     *
     * @param features
     *     A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns AddNumbersPortType
     */
    @WebEndpoint(name = "AddNumbersPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:56:32.200Z")
    public AddNumbersPortTypeProxy getAddNumbersPort(WebServiceFeature... features) {
        return super.getPort(AddNumbersPort, AddNumbersPortTypeProxy.class, features);
    }

}