89 lines
3.0 KiB
Java
89 lines
3.0 KiB
Java
package taiji.swj.service.impl;
|
|
|
|
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 taiji.swj.service.SwjService;
|
|
import javax.xml.ws.Service;
|
|
|
|
/**
|
|
* This class was generated by Apache CXF 3.1.8
|
|
* 2018-02-07T14:49:33.845+08:00
|
|
* Generated source version: 3.1.8
|
|
*
|
|
*/
|
|
@WebServiceClient(name = "SwjServiceImplService",
|
|
wsdlLocation = "http://localhost:8080/approval/service/gscService?wsdl",
|
|
targetNamespace = "http://impl.service.swj.taiji.com/")
|
|
public class SwjServiceImplService extends Service {
|
|
|
|
public final static URL WSDL_LOCATION;
|
|
|
|
public final static QName SERVICE = new QName("http://impl.service.swj.taiji.com/", "SwjServiceImplService");
|
|
public final static QName SwjServiceImplPort = new QName("http://impl.service.swj.taiji.com/", "SwjServiceImplPort");
|
|
static {
|
|
URL url = null;
|
|
try {
|
|
url = new URL("http://localhost:8080/approval/service/gscService?wsdl");
|
|
} catch (MalformedURLException e) {
|
|
java.util.logging.Logger.getLogger(SwjServiceImplService.class.getName())
|
|
.log(java.util.logging.Level.INFO,
|
|
"Can not initialize the default wsdl from {0}", "http://localhost:8080/approval/service/gscService?wsdl");
|
|
}
|
|
WSDL_LOCATION = url;
|
|
}
|
|
|
|
public SwjServiceImplService(URL wsdlLocation) {
|
|
super(wsdlLocation, SERVICE);
|
|
}
|
|
|
|
public SwjServiceImplService(URL wsdlLocation, QName serviceName) {
|
|
super(wsdlLocation, serviceName);
|
|
}
|
|
|
|
public SwjServiceImplService() {
|
|
super(WSDL_LOCATION, SERVICE);
|
|
}
|
|
|
|
public SwjServiceImplService(WebServiceFeature ... features) {
|
|
super(WSDL_LOCATION, SERVICE, features);
|
|
}
|
|
|
|
public SwjServiceImplService(URL wsdlLocation, WebServiceFeature ... features) {
|
|
super(wsdlLocation, SERVICE, features);
|
|
}
|
|
|
|
public SwjServiceImplService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
|
|
super(wsdlLocation, serviceName, features);
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
*
|
|
* @return
|
|
* returns SwjService
|
|
*/
|
|
@WebEndpoint(name = "SwjServiceImplPort")
|
|
public SwjService getSwjServiceImplPort() {
|
|
return super.getPort(SwjServiceImplPort, SwjService.class);
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @param features
|
|
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
|
|
* @return
|
|
* returns SwjService
|
|
*/
|
|
@WebEndpoint(name = "SwjServiceImplPort")
|
|
public SwjService getSwjServiceImplPort(WebServiceFeature... features) {
|
|
return super.getPort(SwjServiceImplPort, SwjService.class, features);
|
|
}
|
|
|
|
}
|