67,512
社区成员
发帖
与我相关
我的任务
分享
package com.define.unitpay.webService.xxticket;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
/**
* This class was generated by Apache CXF (incubator) 2.0.4-incubator
* Tue Apr 26 09:13:41 CST 2016
* Generated source version: 2.0.4-incubator
*
*/
@WebServiceClient(name = "Service", targetNamespace = "http://tempuri.org/", wsdlLocation = "http://183.57.87.2:19024/TKWebService.asmx?wsdl")
public class XxService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://tempuri.org/", "Service");
public final static QName ServiceSoap = new QName("http://tempuri.org/", "ServiceSoap");
public final static QName ServiceSoap12 = new QName("http://tempuri.org/", "ServiceSoap12");
static {
URL url = null;
try {
url = new URL("http://183.57.87.2:19024/TKWebService.asmx?wsdl");
} catch (MalformedURLException e) {
System.err.println("Can not initialize the default wsdl from http://183.57.87.2:19024/TKWebService.asmx?wsdl");
// e.printStackTrace();
}
WSDL_LOCATION = url;
}
public XxService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public XxService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public XxService() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns ServiceSoap
*/
@WebEndpoint(name = "ServiceSoap")
public ServiceSoap getServiceSoap() {
return (ServiceSoap)super.getPort(ServiceSoap, ServiceSoap.class);
}
/**
*
* @return
* returns ServiceSoap12
*/
@WebEndpoint(name = "ServiceSoap12")
public ServiceSoap getServiceSoap12() {
return (ServiceSoap)super.getPort(ServiceSoap12, ServiceSoap.class);
}
}