View Javadoc

1   /*
2    * $Id: CreateZipQuery.java 23054 2011-10-02 05:31:18Z 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.mycode;
12  
13  import org.mule.cxf.weatherservice.myweather.GetCityWeatherByZIP;
14  
15  
16  public class CreateZipQuery
17  {
18  
19      /**
20       * Create a request to query by zip code.
21       */
22      public GetCityWeatherByZIP createRequest(Object input) {
23          GetCityWeatherByZIP request = new GetCityWeatherByZIP();
24          request.setZIP("30075");
25          return request;
26      }
27  }