ExchangeServer.java 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. package com.chinaitop.depot.webservice;
  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.9-b130926.1035
  13. * Generated source version: 2.2
  14. *
  15. */
  16. @WebServiceClient(name = "ExchangeServer", targetNamespace = "http://webServices/", wsdlLocation = "http://192.167.120.18:9025/yhzx/webServices/ExchangeServer?wsdl")
  17. public class ExchangeServer
  18. extends Service
  19. {
  20. private final static URL EXCHANGESERVER_WSDL_LOCATION;
  21. private final static WebServiceException EXCHANGESERVER_EXCEPTION;
  22. private final static QName EXCHANGESERVER_QNAME = new QName("http://webServices/", "ExchangeServer");
  23. static {
  24. URL url = null;
  25. WebServiceException e = null;
  26. try {
  27. url = new URL("http://192.167.120.18:9025/yhzx/webServices/ExchangeServer?wsdl");
  28. } catch (MalformedURLException ex) {
  29. e = new WebServiceException(ex);
  30. }
  31. EXCHANGESERVER_WSDL_LOCATION = url;
  32. EXCHANGESERVER_EXCEPTION = e;
  33. }
  34. public ExchangeServer() {
  35. super(__getWsdlLocation(), EXCHANGESERVER_QNAME);
  36. }
  37. public ExchangeServer(WebServiceFeature... features) {
  38. super(__getWsdlLocation(), EXCHANGESERVER_QNAME, features);
  39. }
  40. public ExchangeServer(URL wsdlLocation) {
  41. super(wsdlLocation, EXCHANGESERVER_QNAME);
  42. }
  43. public ExchangeServer(URL wsdlLocation, WebServiceFeature... features) {
  44. super(wsdlLocation, EXCHANGESERVER_QNAME, features);
  45. }
  46. public ExchangeServer(URL wsdlLocation, QName serviceName) {
  47. super(wsdlLocation, serviceName);
  48. }
  49. public ExchangeServer(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
  50. super(wsdlLocation, serviceName, features);
  51. }
  52. /**
  53. *
  54. * @return
  55. * returns IExchangeService
  56. */
  57. @WebEndpoint(name = "ExchangeServiceImplPort")
  58. public IExchangeService getExchangeServiceImplPort() {
  59. return super.getPort(new QName("http://webServices/", "ExchangeServiceImplPort"), IExchangeService.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 IExchangeService
  67. */
  68. @WebEndpoint(name = "ExchangeServiceImplPort")
  69. public IExchangeService getExchangeServiceImplPort(WebServiceFeature... features) {
  70. return super.getPort(new QName("http://webServices/", "ExchangeServiceImplPort"), IExchangeService.class, features);
  71. }
  72. private static URL __getWsdlLocation() {
  73. if (EXCHANGESERVER_EXCEPTION!= null) {
  74. throw EXCHANGESERVER_EXCEPTION;
  75. }
  76. return EXCHANGESERVER_WSDL_LOCATION;
  77. }
  78. }