CkService.java 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. package com.cxfws.client.service.ck;
  2. import java.net.MalformedURLException;
  3. import java.net.URL;
  4. import javax.xml.namespace.QName;
  5. import javax.xml.ws.Service;
  6. import javax.xml.ws.WebEndpoint;
  7. import javax.xml.ws.WebServiceClient;
  8. import javax.xml.ws.WebServiceException;
  9. import javax.xml.ws.WebServiceFeature;
  10. /**
  11. * This class was generated by the JAX-WS RI.
  12. * JAX-WS RI 2.2.4-b01
  13. * Generated source version: 2.2
  14. *
  15. */
  16. @WebServiceClient(name = "ckService", targetNamespace = "http://webService.yjpt.com/", wsdlLocation = "http://192.168.30.141:8088/ckService?wsdl")
  17. public class CkService
  18. extends Service
  19. {
  20. private final static URL CKSERVICE_WSDL_LOCATION;
  21. private final static WebServiceException CKSERVICE_EXCEPTION;
  22. private final static QName CKSERVICE_QNAME = new QName("http://webService.yjpt.com/", "ckService");
  23. static {
  24. URL url = null;
  25. WebServiceException e = null;
  26. try {
  27. url = new URL("http://192.168.30.141:8088/ckService?wsdl");
  28. } catch (MalformedURLException ex) {
  29. e = new WebServiceException(ex);
  30. }
  31. CKSERVICE_WSDL_LOCATION = url;
  32. CKSERVICE_EXCEPTION = e;
  33. }
  34. public CkService() {
  35. super(__getWsdlLocation(), CKSERVICE_QNAME);
  36. }
  37. public CkService(WebServiceFeature... features) {
  38. super(__getWsdlLocation(), CKSERVICE_QNAME, features);
  39. }
  40. public CkService(URL wsdlLocation) {
  41. super(wsdlLocation, CKSERVICE_QNAME);
  42. }
  43. public CkService(URL wsdlLocation, WebServiceFeature... features) {
  44. super(wsdlLocation, CKSERVICE_QNAME, features);
  45. }
  46. public CkService(URL wsdlLocation, QName serviceName) {
  47. super(wsdlLocation, serviceName);
  48. }
  49. public CkService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
  50. super(wsdlLocation, serviceName, features);
  51. }
  52. /**
  53. *
  54. * @return
  55. * returns CkWebService
  56. */
  57. @WebEndpoint(name = "CkWebServicePort")
  58. public CkWebService getCkWebServicePort() {
  59. return super.getPort(new QName("http://webService.yjpt.com/", "CkWebServicePort"), CkWebService.class);
  60. }
  61. /**
  62. *
  63. * @param features
  64. * 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.
  65. * @return
  66. * returns CkWebService
  67. */
  68. @WebEndpoint(name = "CkWebServicePort")
  69. public CkWebService getCkWebServicePort(WebServiceFeature... features) {
  70. return super.getPort(new QName("http://webService.yjpt.com/", "CkWebServicePort"), CkWebService.class, features);
  71. }
  72. private static URL __getWsdlLocation() {
  73. if (CKSERVICE_EXCEPTION!= null) {
  74. throw CKSERVICE_EXCEPTION;
  75. }
  76. return CKSERVICE_WSDL_LOCATION;
  77. }
  78. }