BSXmlWsEntryClassService.java 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. package com.hgwebservice.config;
  2. import org.springframework.beans.factory.annotation.Configurable;
  3. import javax.xml.namespace.QName;
  4. import javax.xml.ws.*;
  5. import java.net.MalformedURLException;
  6. import java.net.URL;
  7. /**
  8. * This class was generated by the JAX-WS RI.
  9. * JAX-WS RI 2.2.9-b130926.1035
  10. * Generated source version: 2.2
  11. *
  12. */
  13. @Configurable
  14. @WebServiceClient(name = "BSXmlWsEntryClassService", targetNamespace = "http://ws.access.hai/", wsdlLocation = "http://192.168.200.60:9528/hai/WebServiceEntry?wsdl")
  15. public class BSXmlWsEntryClassService extends Service
  16. {
  17. private final static URL BSXMLWSENTRYCLASSSERVICE_WSDL_LOCATION;
  18. private final static WebServiceException BSXMLWSENTRYCLASSSERVICE_EXCEPTION;
  19. private final static QName BSXMLWSENTRYCLASSSERVICE_QNAME = new QName("http://ws.access.hai/", "BSXmlWsEntryClassService");
  20. static {
  21. URL url = null;
  22. WebServiceException e = null;
  23. try {
  24. url = new URL("http://192.168.200.60:9528/hai/WebServiceEntry?wsdl");
  25. } catch (MalformedURLException ex) {
  26. e = new WebServiceException(ex);
  27. }
  28. BSXMLWSENTRYCLASSSERVICE_WSDL_LOCATION = url;
  29. BSXMLWSENTRYCLASSSERVICE_EXCEPTION = e;
  30. }
  31. public BSXmlWsEntryClassService() {
  32. super(__getWsdlLocation(), BSXMLWSENTRYCLASSSERVICE_QNAME);
  33. }
  34. public BSXmlWsEntryClassService(WebServiceFeature... features) {
  35. super(__getWsdlLocation(), BSXMLWSENTRYCLASSSERVICE_QNAME, features);
  36. }
  37. public BSXmlWsEntryClassService(URL wsdlLocation) {
  38. super(wsdlLocation, BSXMLWSENTRYCLASSSERVICE_QNAME);
  39. }
  40. public BSXmlWsEntryClassService(URL wsdlLocation, WebServiceFeature... features) {
  41. super(wsdlLocation, BSXMLWSENTRYCLASSSERVICE_QNAME, features);
  42. }
  43. public BSXmlWsEntryClassService(URL wsdlLocation, QName serviceName) {
  44. super(wsdlLocation, serviceName);
  45. }
  46. public BSXmlWsEntryClassService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
  47. super(wsdlLocation, serviceName, features);
  48. }
  49. /**
  50. *
  51. * @return
  52. * returns BSXmlWsEntryClass
  53. */
  54. @WebEndpoint(name = "BSXmlWsEntryClassPort")
  55. public BSXmlWsEntryClass getBSXmlWsEntryClassPort() {
  56. return super.getPort(new QName("http://ws.access.hai/", "BSXmlWsEntryClassPort"), BSXmlWsEntryClass.class);
  57. }
  58. /**
  59. *
  60. * @param features
  61. * A list of {@link WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
  62. * @return
  63. * returns BSXmlWsEntryClass
  64. */
  65. @WebEndpoint(name = "BSXmlWsEntryClassPort")
  66. public BSXmlWsEntryClass getBSXmlWsEntryClassPort(WebServiceFeature... features) {
  67. return super.getPort(new QName("http://ws.access.hai/", "BSXmlWsEntryClassPort"), BSXmlWsEntryClass.class, features);
  68. }
  69. private static URL __getWsdlLocation() {
  70. if (BSXMLWSENTRYCLASSSERVICE_EXCEPTION!= null) {
  71. throw BSXMLWSENTRYCLASSSERVICE_EXCEPTION;
  72. }
  73. return BSXMLWSENTRYCLASSSERVICE_WSDL_LOCATION;
  74. }
  75. }