HelloWorldService.java
package org.apache.cxf.hello_world_jms;
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-805eaa78a566e338c23b7ec630e304d0b068e354
* 2025-06-13T06:22:52.005Z
* Generated source version: 4.1.3-SNAPSHOT
*
*/
@WebServiceClient(name = "HelloWorldService",
wsdlLocation = "file:/src/project-parent/cxf/testutils/src/main/resources/wsdl/jms_test.wsdl",
targetNamespace = "http://cxf.apache.org/hello_world_jms")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z", comments = "Apache CXF 4.1.3-SNAPSHOT-805eaa78a566e338c23b7ec630e304d0b068e354")
public class HelloWorldService extends Service {
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public static final URL WSDL_LOCATION;
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public static final QName SERVICE = new QName("http://cxf.apache.org/hello_world_jms", "HelloWorldService");
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public static final QName HelloWorldPort = new QName("http://cxf.apache.org/hello_world_jms", "HelloWorldPort");
static {
URL url = null;
try {
url = URI.create("file:/src/project-parent/cxf/testutils/src/main/resources/wsdl/jms_test.wsdl").toURL();
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(HelloWorldService.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/jms_test.wsdl");
}
WSDL_LOCATION = url;
}
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public HelloWorldService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public HelloWorldService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public HelloWorldService() {
super(WSDL_LOCATION, SERVICE);
}
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public HelloWorldService(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public HelloWorldService(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public HelloWorldService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns HelloWorldPortType
*/
@WebEndpoint(name = "HelloWorldPort")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public HelloWorldPortType getHelloWorldPort() {
return super.getPort(HelloWorldPort, HelloWorldPortType.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 HelloWorldPortType
*/
@WebEndpoint(name = "HelloWorldPort")
@Generated(value = "org.apache.cxf.tools.wsdlto.WSDLToJava", date = "2025-06-13T06:22:52.005Z")
public HelloWorldPortType getHelloWorldPort(WebServiceFeature... features) {
return super.getPort(HelloWorldPort, HelloWorldPortType.class, features);
}
}