InBandSoapHeaderService.java
package org.apache.cxf.soapheader.inband;
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-805eaa78a566e338c23b7ec630e304d0b068e354
* 2025-06-13T06:28:40.722Z
* Generated source version: 4.1.3-SNAPSHOT
*
*/
@WebServiceClient(name = "InBandSoapHeaderService",
wsdlLocation = "file:/src/project-parent/cxf/systests/jaxws/src/test/resources/wsdl_systest_jaxws/cxf4130.wsdl",
targetNamespace = "http://cxf.apache.org/soapheader/inband")
public class InBandSoapHeaderService extends Service {
public static final URL WSDL_LOCATION;
public static final QName SERVICE = new QName("http://cxf.apache.org/soapheader/inband", "InBandSoapHeaderService");
public static final QName InBandSoapHeaderSoapHttpPort = new QName("http://cxf.apache.org/soapheader/inband", "InBandSoapHeaderSoapHttpPort");
static {
URL url = null;
try {
url = URI.create("file:/src/project-parent/cxf/systests/jaxws/src/test/resources/wsdl_systest_jaxws/cxf4130.wsdl").toURL();
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(InBandSoapHeaderService.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/cxf4130.wsdl");
}
WSDL_LOCATION = url;
}
public InBandSoapHeaderService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public InBandSoapHeaderService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public InBandSoapHeaderService() {
super(WSDL_LOCATION, SERVICE);
}
public InBandSoapHeaderService(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
public InBandSoapHeaderService(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
public InBandSoapHeaderService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns InBandSoapHeaderPortType
*/
@WebEndpoint(name = "InBandSoapHeaderSoapHttpPort")
public InBandSoapHeaderPortType getInBandSoapHeaderSoapHttpPort() {
return super.getPort(InBandSoapHeaderSoapHttpPort, InBandSoapHeaderPortType.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 InBandSoapHeaderPortType
*/
@WebEndpoint(name = "InBandSoapHeaderSoapHttpPort")
public InBandSoapHeaderPortType getInBandSoapHeaderSoapHttpPort(WebServiceFeature... features) {
return super.getPort(InBandSoapHeaderSoapHttpPort, InBandSoapHeaderPortType.class, features);
}
}