
com.skjolberg.example.spring.soap.v1.BankCustomerService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mockito-soap-cxf Show documentation
Show all versions of mockito-soap-cxf Show documentation
SOAP web-service mocking utility for CXF
package com.skjolberg.example.spring.soap.v1;
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;
/**
* This class was generated by Apache CXF 3.1.8
* 2016-11-04T18:22:36.957+01:00
* Generated source version: 3.1.8
*
*/
@WebServiceClient(name = "BankCustomerService",
wsdlLocation = "classpath:wsdl/BankCustomerService.wsdl",
targetNamespace = "http://soap.spring.example.skjolberg.com/v1")
public class BankCustomerService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://soap.spring.example.skjolberg.com/v1", "BankCustomerService");
public final static QName BankCustomerServicePort = new QName("http://soap.spring.example.skjolberg.com/v1", "BankCustomerServicePort");
static {
URL url = BankCustomerService.class.getClassLoader().getResource("wsdl/BankCustomerService.wsdl");
if (url == null) {
java.util.logging.Logger.getLogger(BankCustomerService.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "classpath:wsdl/BankCustomerService.wsdl");
}
WSDL_LOCATION = url;
}
public BankCustomerService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public BankCustomerService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public BankCustomerService() {
super(WSDL_LOCATION, SERVICE);
}
public BankCustomerService(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
public BankCustomerService(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
public BankCustomerService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns BankCustomerServicePortType
*/
@WebEndpoint(name = "BankCustomerServicePort")
public BankCustomerServicePortType getBankCustomerServicePort() {
return super.getPort(BankCustomerServicePort, BankCustomerServicePortType.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 BankCustomerServicePortType
*/
@WebEndpoint(name = "BankCustomerServicePort")
public BankCustomerServicePortType getBankCustomerServicePort(WebServiceFeature... features) {
return super.getPort(BankCustomerServicePort, BankCustomerServicePortType.class, features);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy