DownloadServiceInterfaceService.java
package org.apache.cxf;
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:26.526Z
* Generated source version: 4.1.3-SNAPSHOT
*
*/
@WebServiceClient(name = "DownloadServiceInterfaceService",
wsdlLocation = "file:/src/project-parent/cxf/systests/jaxws/src/test/resources/attachments/cxf9057.wsdl",
targetNamespace = "http://cxf.apache.org/")
public class DownloadServiceInterfaceService extends Service {
public static final URL WSDL_LOCATION;
public static final QName SERVICE = new QName("http://cxf.apache.org/", "DownloadServiceInterfaceService");
public static final QName DownloadPort = new QName("http://cxf.apache.org/", "DownloadPort");
static {
URL url = null;
try {
url = URI.create("file:/src/project-parent/cxf/systests/jaxws/src/test/resources/attachments/cxf9057.wsdl").toURL();
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(DownloadServiceInterfaceService.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/attachments/cxf9057.wsdl");
}
WSDL_LOCATION = url;
}
public DownloadServiceInterfaceService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public DownloadServiceInterfaceService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public DownloadServiceInterfaceService() {
super(WSDL_LOCATION, SERVICE);
}
public DownloadServiceInterfaceService(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
public DownloadServiceInterfaceService(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
public DownloadServiceInterfaceService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns Download
*/
@WebEndpoint(name = "DownloadPort")
public Download getDownloadPort() {
return super.getPort(DownloadPort, Download.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 Download
*/
@WebEndpoint(name = "DownloadPort")
public Download getDownloadPort(WebServiceFeature... features) {
return super.getPort(DownloadPort, Download.class, features);
}
}