View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.cxf.weatherservice.myweather;
8   
9   import javax.jws.WebMethod;
10  import javax.jws.WebParam;
11  import javax.jws.WebResult;
12  import javax.jws.WebService;
13  import javax.jws.soap.SOAPBinding;
14  import javax.jws.soap.SOAPBinding.ParameterStyle;
15  import javax.xml.bind.annotation.XmlSeeAlso;
16  
17  @WebService(targetNamespace = "http://ws.cdyne.com/WeatherWS/", name = "WeatherHttpGet")
18  @XmlSeeAlso({ObjectFactory.class})
19  @SOAPBinding(parameterStyle = ParameterStyle.BARE)
20  public interface WeatherHttpGet {
21  
22      @WebResult(name = "WeatherReturn", targetNamespace = "http://ws.cdyne.com/WeatherWS/", partName = "Body")
23      @WebMethod(operationName = "GetCityWeatherByZIP")
24      public WeatherReturn getCityWeatherByZIP(
25          @WebParam(partName = "ZIP", name = "ZIP", targetNamespace = "")
26          String zip
27      );
28  
29      @WebResult(name = "ArrayOfWeatherDescription", targetNamespace = "http://ws.cdyne.com/WeatherWS/", partName = "Body")
30      @WebMethod(operationName = "GetWeatherInformation")
31      public ArrayOfWeatherDescription getWeatherInformation();
32  
33      @WebResult(name = "ForecastReturn", targetNamespace = "http://ws.cdyne.com/WeatherWS/", partName = "Body")
34      @WebMethod(operationName = "GetCityForecastByZIP")
35      public ForecastReturn getCityForecastByZIP(
36          @WebParam(partName = "ZIP", name = "ZIP", targetNamespace = "")
37          String zip
38      );
39  }