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