1
2
3
4
5
6
7
8
9
10
11 package org.mule.cxf.weatherservice.myweather;
12
13 import javax.jws.WebMethod;
14 import javax.jws.WebParam;
15 import javax.jws.WebResult;
16 import javax.jws.WebService;
17 import javax.jws.soap.SOAPBinding;
18 import javax.jws.soap.SOAPBinding.ParameterStyle;
19 import javax.xml.bind.annotation.XmlSeeAlso;
20
21 @WebService(targetNamespace = "http://ws.cdyne.com/WeatherWS/", name = "WeatherHttpGet")
22 @XmlSeeAlso({ObjectFactory.class})
23 @SOAPBinding(parameterStyle = ParameterStyle.BARE)
24 public interface WeatherHttpGet {
25
26 @WebResult(name = "WeatherReturn", targetNamespace = "http://ws.cdyne.com/WeatherWS/", partName = "Body")
27 @WebMethod(operationName = "GetCityWeatherByZIP")
28 public WeatherReturn getCityWeatherByZIP(
29 @WebParam(partName = "ZIP", name = "ZIP", targetNamespace = "")
30 String zip
31 );
32
33 @WebResult(name = "ArrayOfWeatherDescription", targetNamespace = "http://ws.cdyne.com/WeatherWS/", partName = "Body")
34 @WebMethod(operationName = "GetWeatherInformation")
35 public ArrayOfWeatherDescription getWeatherInformation();
36
37 @WebResult(name = "ForecastReturn", targetNamespace = "http://ws.cdyne.com/WeatherWS/", partName = "Body")
38 @WebMethod(operationName = "GetCityForecastByZIP")
39 public ForecastReturn getCityForecastByZIP(
40 @WebParam(partName = "ZIP", name = "ZIP", targetNamespace = "")
41 String zip
42 );
43 }