TestService.java

package namespace.test;

import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
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:56:24.604Z
 * Generated source version: 4.1.3-SNAPSHOT
 *
 */
@WebServiceClient(name = "TestService",
                  wsdlLocation = "file:/src/project-parent/cxf/systests/jaxws/src/test/resources/wsdl_systest_jaxws/cxf8979.wsdl",
                  targetNamespace = "http://test.namespace/")
public class TestService extends Service {

    public static final URL WSDL_LOCATION;

    public static final QName SERVICE = new QName("http://test.namespace/", "TestService");
    public static final QName TestService = new QName("http://test.namespace/", "TestService");
    static {
        URL url = null;
        try {
            url = URI.create("file:/src/project-parent/cxf/systests/jaxws/src/test/resources/wsdl_systest_jaxws/cxf8979.wsdl").toURL();
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(TestService.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "file:/src/project-parent/cxf/systests/jaxws/src/test/resources/wsdl_systest_jaxws/cxf8979.wsdl");
        }
        WSDL_LOCATION = url;
    }

    public TestService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    public TestService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public TestService() {
        super(WSDL_LOCATION, SERVICE);
    }

    public TestService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    public TestService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    public TestService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }




    /**
     *
     * @return
     *     returns TestServicePortType
     */
    @WebEndpoint(name = "TestService")
    public TestServicePortType getTestService() {
        return super.getPort(TestService, TestServicePortType.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 TestServicePortType
     */
    @WebEndpoint(name = "TestService")
    public TestServicePortType getTestService(WebServiceFeature... features) {
        return super.getPort(TestService, TestServicePortType.class, features);
    }

}