/**
* EasySOA Samples - Smart Travel
* Copyright 2011 Open Wide
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Contact : easysoa-dev@googlegroups.com
*/
/**
* Please modify this class to meet your needs
* This class is not complete
*/
package net.webservicex;
import java.util.logging.Logger;
/**
* This class was generated by Apache CXF 2.3.3
* 2011-07-08T11:01:25.110+02:00
* Generated source version: 2.3.3
*
*/
@javax.jws.WebService(
serviceName = "GlobalWeather",
portName = "GlobalWeatherSoap",
targetNamespace = "http://www.webserviceX.NET",
//wsdlLocation = "http://www.webservicex.net/globalweather.asmx?wsdl",
endpointInterface = "net.webservicex.GlobalWeatherSoap")
public class GlobalWeatherSoapImpl1 implements GlobalWeatherSoap {
private static final Logger LOG = Logger.getLogger(GlobalWeatherSoapImpl.class.getName());
private GlobalWeatherImpl globalWeatherImpl = new GlobalWeatherImpl();
/* (non-Javadoc)
* @see net.webservicex.GlobalWeatherSoap#getCitiesByCountry(java.lang.String countryName )*
*/
public java.lang.String getCitiesByCountry(java.lang.String countryName) {
LOG.info("Executing operation getCitiesByCountry");
System.out.println(countryName);
try {
return globalWeatherImpl.getCitiesByCountry(countryName);
//java.lang.String _return = "_return-912609926";
//return _return;
} catch (java.lang.Exception ex) {
ex.printStackTrace();
throw new RuntimeException(ex);
}
}
/* (non-Javadoc)
* @see net.webservicex.GlobalWeatherSoap#getWeather(java.lang.String cityName ,)java.lang.String countryName )*
*/
public java.lang.String getWeather(java.lang.String cityName,java.lang.String countryName) {
LOG.info("Executing operation getWeather");
System.out.println(cityName);
System.out.println(countryName);
try {
return globalWeatherImpl.getWeather(cityName, countryName);
//java.lang.String _return = "_return855591453";
//return _return;
} catch (java.lang.Exception ex) {
ex.printStackTrace();
throw new RuntimeException(ex);
}
}
}