1
2
3
4
5
6
7 package org.mule.cxf.weatherservice.myweather;
8
9 import java.net.URL;
10
11 import javax.xml.namespace.QName;
12 import javax.xml.ws.Service;
13 import javax.xml.ws.WebEndpoint;
14 import javax.xml.ws.WebServiceClient;
15 import javax.xml.ws.WebServiceFeature;
16
17 @WebServiceClient(name = "Weather",
18 wsdlLocation = "c:/tmp/weather.wsdl",
19 targetNamespace = "http://ws.cdyne.com/WeatherWS/")
20 public class Weather extends Service {
21
22 public final static URL WSDL_LOCATION;
23 public final static QName SERVICE = new QName("http://ws.cdyne.com/WeatherWS/", "Weather");
24 public final static QName WeatherHttpPost = new QName("http://ws.cdyne.com/WeatherWS/", "WeatherHttpPost");
25 public final static QName WeatherHttpGet = new QName("http://ws.cdyne.com/WeatherWS/", "WeatherHttpGet");
26 public final static QName WeatherSoap12 = new QName("http://ws.cdyne.com/WeatherWS/", "WeatherSoap12");
27 public final static QName WeatherSoap = new QName("http://ws.cdyne.com/WeatherWS/", "WeatherSoap");
28 static
29 {
30 WSDL_LOCATION = Weather.class.getClassLoader().getResource("org/mule/issues/weather.wsdl");
31 }
32
33 public Weather(URL wsdlLocation) {
34 super(wsdlLocation, SERVICE);
35 }
36
37 public Weather(URL wsdlLocation, QName serviceName) {
38 super(wsdlLocation, serviceName);
39 }
40
41 public Weather() {
42 super(WSDL_LOCATION, SERVICE);
43 }
44
45
46
47
48
49
50 @WebEndpoint(name = "WeatherHttpPost")
51 public WeatherHttpPost getWeatherHttpPost() {
52 return super.getPort(WeatherHttpPost, WeatherHttpPost.class);
53 }
54
55
56
57
58
59
60
61
62 @WebEndpoint(name = "WeatherHttpPost")
63 public WeatherHttpPost getWeatherHttpPost(WebServiceFeature... features) {
64 return super.getPort(WeatherHttpPost, WeatherHttpPost.class, features);
65 }
66
67
68
69
70
71 @WebEndpoint(name = "WeatherHttpGet")
72 public WeatherHttpGet getWeatherHttpGet() {
73 return super.getPort(WeatherHttpGet, WeatherHttpGet.class);
74 }
75
76
77
78
79
80
81
82
83 @WebEndpoint(name = "WeatherHttpGet")
84 public WeatherHttpGet getWeatherHttpGet(WebServiceFeature... features) {
85 return super.getPort(WeatherHttpGet, WeatherHttpGet.class, features);
86 }
87
88
89
90
91
92 @WebEndpoint(name = "WeatherSoap12")
93 public WeatherSoap getWeatherSoap12() {
94 return super.getPort(WeatherSoap12, WeatherSoap.class);
95 }
96
97
98
99
100
101
102
103
104 @WebEndpoint(name = "WeatherSoap12")
105 public WeatherSoap getWeatherSoap12(WebServiceFeature... features) {
106 return super.getPort(WeatherSoap12, WeatherSoap.class, features);
107 }
108
109
110
111
112
113 @WebEndpoint(name = "WeatherSoap")
114 public WeatherSoap getWeatherSoap() {
115 return super.getPort(WeatherSoap, WeatherSoap.class);
116 }
117
118
119
120
121
122
123
124
125 @WebEndpoint(name = "WeatherSoap")
126 public WeatherSoap getWeatherSoap(WebServiceFeature... features) {
127 return super.getPort(WeatherSoap, WeatherSoap.class, features);
128 }
129
130 }