JaxbElementTest_Service.java

package org.apache.cxf.jaxb_element_test;

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;

/**
 * This class was generated by Apache CXF 4.1.3-SNAPSHOT-22c6265d4306187569b30c5b19682b37fe7d5c5c
 * 2025-07-04T06:50:38.760Z
 * Generated source version: 4.1.3-SNAPSHOT
 *
 */
@WebServiceClient(name = "jaxb_element_test",
                  wsdlLocation = "file:/src/project-parent/cxf/testutils/src/main/resources/wsdl/jaxb_element_test.wsdl",
                  targetNamespace = "http://cxf.apache.org/jaxb_element_test/")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:50:38.760Z", comments = "Apache CXF 4.1.3-SNAPSHOT-22c6265d4306187569b30c5b19682b37fe7d5c5c")
public class JaxbElementTest_Service extends Service {

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

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:50:38.760Z")
    public static final QName SERVICE = new QName("http://cxf.apache.org/jaxb_element_test/", "jaxb_element_test");
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:50:38.760Z")
    public static final QName JaxbElementTestSOAP = new QName("http://cxf.apache.org/jaxb_element_test/", "jaxb_element_testSOAP");
    static {
        URL url = null;
        try {
            url = URI.create("file:/src/project-parent/cxf/testutils/src/main/resources/wsdl/jaxb_element_test.wsdl").toURL();
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(JaxbElementTest_Service.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "file:/src/project-parent/cxf/testutils/src/main/resources/wsdl/jaxb_element_test.wsdl");
        }
        WSDL_LOCATION = url;
    }

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:50:38.760Z")
    public JaxbElementTest_Service(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

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

    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:50:38.760Z")
    public JaxbElementTest_Service() {
        super(WSDL_LOCATION, SERVICE);
    }

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

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

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




    /**
     *
     * @return
     *     returns JaxbElementTest
     */
    @WebEndpoint(name = "jaxb_element_testSOAP")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:50:38.760Z")
    public JaxbElementTest getJaxbElementTestSOAP() {
        return super.getPort(JaxbElementTestSOAP, JaxbElementTest.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 JaxbElementTest
     */
    @WebEndpoint(name = "jaxb_element_testSOAP")
    @Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-07-04T06:50:38.760Z")
    public JaxbElementTest getJaxbElementTestSOAP(WebServiceFeature... features) {
        return super.getPort(JaxbElementTestSOAP, JaxbElementTest.class, features);
    }

}