View Javadoc

1   /*
2    * $Id: WeatherHttpGet.java 21856 2011-05-09 09:59:16Z dirk.olmes $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
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  }