pl.touk.cxf_interceptors.TestWebService Maven / Gradle / Ivy
package pl.touk.cxf_interceptors;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* TestWebservice
*
* This class was generated by Apache CXF 3.1.9
* 2018-02-21T08:37:16.339+01:00
* Generated source version: 3.1.9
*
*/
@WebServiceClient(name = "testWebService",
wsdlLocation = "file:/home/pfus/touk/workspace/touk/cxf-utils/cxf-interceptors/src/test/resources/test.wsdl",
targetNamespace = "http://cxf-interceptors.touk.pl")
public class TestWebService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://cxf-interceptors.touk.pl", "testWebService");
public final static QName TestWebServiceSoap = new QName("http://cxf-interceptors.touk.pl", "testWebServiceSoap");
static {
URL url = null;
try {
url = new URL("file:/home/pfus/touk/workspace/touk/cxf-utils/cxf-interceptors/src/test/resources/test.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(TestWebService.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "file:/home/pfus/touk/workspace/touk/cxf-utils/cxf-interceptors/src/test/resources/test.wsdl");
}
WSDL_LOCATION = url;
}
public TestWebService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public TestWebService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public TestWebService() {
super(WSDL_LOCATION, SERVICE);
}
public TestWebService(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
public TestWebService(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
public TestWebService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns TestWebServiceSoap
*/
@WebEndpoint(name = "testWebServiceSoap")
public TestWebServiceSoap getTestWebServiceSoap() {
return super.getPort(TestWebServiceSoap, TestWebServiceSoap.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features
parameter will have their default values.
* @return
* returns TestWebServiceSoap
*/
@WebEndpoint(name = "testWebServiceSoap")
public TestWebServiceSoap getTestWebServiceSoap(WebServiceFeature... features) {
return super.getPort(TestWebServiceSoap, TestWebServiceSoap.class, features);
}
}