package ws.pub.ihis; 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 2.6.16 * 2015-12-21T17:52:25.869+08:00 * Generated source version: 2.6.16 * */ @WebServiceClient(name = "NYwclService", wsdlLocation = "http://" + Constants.CSZXYY_WEBSERVICE_SERVERIP_PORT + "/Services/NYwclService?wsdl", targetNamespace = "http://ihis.pub.ws") public class NYwclService extends Service { public final static URL WSDL_LOCATION; public final static QName SERVICE = new QName("http://ihis.pub.ws", "NYwclService"); public final static QName NYwclPort = new QName("http://ihis.pub.ws", "NYwclPort"); static { URL url = null; try { url = new URL("http://" + Constants.CSZXYY_WEBSERVICE_SERVERIP_PORT + "/Services/NYwclService?wsdl"); } catch (MalformedURLException e) { java.util.logging.Logger.getLogger(NYwclService.class.getName()) .log(java.util.logging.Level.INFO, "Can not initialize the default wsdl from {0}", "http://" + Constants.CSZXYY_WEBSERVICE_SERVERIP_PORT + "/Services/NYwclService?wsdl"); } WSDL_LOCATION = url; } public NYwclService(URL wsdlLocation) { super(wsdlLocation, SERVICE); } public NYwclService(URL wsdlLocation, QName serviceName) { super(wsdlLocation, serviceName); } public NYwclService() { 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 NYwclService(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 NYwclService(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 NYwclService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) { super(wsdlLocation, serviceName, features); } /** * * @return * returns NYwcl */ @WebEndpoint(name = "NYwclPort") public NYwcl getNYwclPort() { return super.getPort(NYwclPort, NYwcl.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 NYwcl */ @WebEndpoint(name = "NYwclPort") public NYwcl getNYwclPort(WebServiceFeature... features) { return super.getPort(NYwclPort, NYwcl.class, features); } }