SOAPService.java

package org.apache.hello_world_soap_http_source.source;

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-805eaa78a566e338c23b7ec630e304d0b068e354
 * 2025-06-13T06:28:45.495Z
 * Generated source version: 4.1.3-SNAPSHOT
 *
 */
@WebServiceClient(name = "SOAPService",
                  wsdlLocation = "file:/src/project-parent/cxf/systests/databinding/src/test/resources/wsdl_systest_databinding/source/hello_world.wsdl",
                  targetNamespace = "http://apache.org/hello_world_soap_http_source/source")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z", comments = "Apache CXF 4.1.3-SNAPSHOT-805eaa78a566e338c23b7ec630e304d0b068e354")
public class SOAPService extends CXFService {

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public static final URL WSDL_LOCATION;

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public static final QName SERVICE = new QName("http://apache.org/hello_world_soap_http_source/source", "SOAPService");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public static final QName SoapPort = new QName("http://apache.org/hello_world_soap_http_source/source", "SoapPort");
    static {
        URL url = null;
        try {
            url = URI.create("file:/src/project-parent/cxf/systests/databinding/src/test/resources/wsdl_systest_databinding/source/hello_world.wsdl").toURL();
        } catch (MalformedURLException e) {
            LogUtils.getL7dLogger(SOAPService.class)
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "file:/src/project-parent/cxf/systests/databinding/src/test/resources/wsdl_systest_databinding/source/hello_world.wsdl");
        }
        WSDL_LOCATION = url;
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public SOAPService(Bus bus, WebServiceFeature ... features) {
        super(bus, WSDL_LOCATION, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public SOAPService(Bus bus, URL wsdlLocation, WebServiceFeature ... features) {
        super(bus, wsdlLocation, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public SOAPService(Bus bus, URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(bus, wsdlLocation, serviceName, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public SOAPService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public SOAPService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public SOAPService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     * Proxy interface the extends Greeter to also provide useful methods
     * without having to cast to the appropriate interface.
     */
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public interface GreeterProxy extends Greeter, AutoCloseable, BindingProvider, Client {
    }



    /**
     *
     * @return
     *     returns Greeter
     */
    @WebEndpoint(name = "SoapPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public GreeterProxy getSoapPort() {
        return super.getPort(SoapPort, GreeterProxy.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 Greeter
     */
    @WebEndpoint(name = "SoapPort")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:28:45.495Z")
    public GreeterProxy getSoapPort(WebServiceFeature... features) {
        return super.getPort(SoapPort, GreeterProxy.class, features);
    }

}