/Prototipo/wsConsume/build/generated-sources/jax-ws/wsconsume/WsTransformadorService.java

http://prototipomemoria.googlecode.com/ · Java · 94 lines · 60 code · 16 blank · 18 comment · 1 complexity · d19675a23aaad89b61cdbb8437bc8ea3 MD5 · raw file

  1. package wsconsume;
  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-hudson-752-
  13. * Generated source version: 2.2
  14. *
  15. */
  16. @WebServiceClient(name = "wsTransformadorService", targetNamespace = "http://ws.memoria/", wsdlLocation = "http://localhost:8080/PrototipoMemoria/wsTransformador?wsdl")
  17. public class WsTransformadorService
  18. extends Service
  19. {
  20. private final static URL WSTRANSFORMADORSERVICE_WSDL_LOCATION;
  21. private final static WebServiceException WSTRANSFORMADORSERVICE_EXCEPTION;
  22. private final static QName WSTRANSFORMADORSERVICE_QNAME = new QName("http://ws.memoria/", "wsTransformadorService");
  23. static {
  24. URL url = null;
  25. WebServiceException e = null;
  26. try {
  27. url = new URL("http://localhost:8080/PrototipoMemoria/wsTransformador?wsdl");
  28. } catch (MalformedURLException ex) {
  29. e = new WebServiceException(ex);
  30. }
  31. WSTRANSFORMADORSERVICE_WSDL_LOCATION = url;
  32. WSTRANSFORMADORSERVICE_EXCEPTION = e;
  33. }
  34. public WsTransformadorService() {
  35. super(__getWsdlLocation(), WSTRANSFORMADORSERVICE_QNAME);
  36. }
  37. public WsTransformadorService(WebServiceFeature... features) {
  38. super(__getWsdlLocation(), WSTRANSFORMADORSERVICE_QNAME, features);
  39. }
  40. public WsTransformadorService(URL wsdlLocation) {
  41. super(wsdlLocation, WSTRANSFORMADORSERVICE_QNAME);
  42. }
  43. public WsTransformadorService(URL wsdlLocation, WebServiceFeature... features) {
  44. super(wsdlLocation, WSTRANSFORMADORSERVICE_QNAME, features);
  45. }
  46. public WsTransformadorService(URL wsdlLocation, QName serviceName) {
  47. super(wsdlLocation, serviceName);
  48. }
  49. public WsTransformadorService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
  50. super(wsdlLocation, serviceName, features);
  51. }
  52. /**
  53. *
  54. * @return
  55. * returns WsTransformador
  56. */
  57. @WebEndpoint(name = "wsTransformadorPort")
  58. public WsTransformador getWsTransformadorPort() {
  59. return super.getPort(new QName("http://ws.memoria/", "wsTransformadorPort"), WsTransformador.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 WsTransformador
  67. */
  68. @WebEndpoint(name = "wsTransformadorPort")
  69. public WsTransformador getWsTransformadorPort(WebServiceFeature... features) {
  70. return super.getPort(new QName("http://ws.memoria/", "wsTransformadorPort"), WsTransformador.class, features);
  71. }
  72. private static URL __getWsdlLocation() {
  73. if (WSTRANSFORMADORSERVICE_EXCEPTION!= null) {
  74. throw WSTRANSFORMADORSERVICE_EXCEPTION;
  75. }
  76. return WSTRANSFORMADORSERVICE_WSDL_LOCATION;
  77. }
  78. }