csb.ci_servlet_pub.ws2restful.CiServletPub Maven / Gradle / Ivy
package csb.ci_servlet_pub.ws2restful;
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;
/**
* This class was generated by Apache CXF 3.0.5
* 2019-01-29T10:49:57.748+08:00
* Generated source version: 3.0.5
*
*/
@WebServiceClient(name = "ci-servlet-pub",
wsdlLocation = "file:/D:/AliDrive/ideaProjects/aliyun-csb-sdk/ws-client/src/test/resources/ws2restful.wsdl",
targetNamespace = "http://ws2restful.ci-servlet-pub.csb/")
public class CiServletPub extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://ws2restful.ci-servlet-pub.csb/", "ci-servlet-pub");
public final static QName Ws2RestfulPort = new QName("http://ws2restful.ci-servlet-pub.csb/", "ws2restfulPort");
static {
URL url = null;
try {
url = new URL("file:/D:/AliDrive/ideaProjects/aliyun-csb-sdk/ws-client/src/test/resources/ws2restful.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(CiServletPub.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "file:/D:/AliDrive/ideaProjects/aliyun-csb-sdk/ws-client/src/test/resources/ws2restful.wsdl");
}
WSDL_LOCATION = url;
}
public CiServletPub(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public CiServletPub(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public CiServletPub() {
super(WSDL_LOCATION, SERVICE);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public CiServletPub(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public CiServletPub(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public CiServletPub(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns Ws2RestfulPortType
*/
@WebEndpoint(name = "ws2restfulPort")
public Ws2RestfulPortType getWs2RestfulPort() {
return super.getPort(Ws2RestfulPort, Ws2RestfulPortType.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 Ws2RestfulPortType
*/
@WebEndpoint(name = "ws2restfulPort")
public Ws2RestfulPortType getWs2RestfulPort(WebServiceFeature... features) {
return super.getPort(Ws2RestfulPort, Ws2RestfulPortType.class, features);
}
}