net.webservicex.GlobalWeatherSoap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fractal-bf-examples-meteo-model Show documentation
Show all versions of fractal-bf-examples-meteo-model Show documentation
This module is in charge of generating required classes to bind
a java interface toward a remote webservice. It uses th
org.apache.cxf:cxf-codegen-plugin to generate classes given the
WSDL file saved in src/main/wsdl. To keep things simple, the
wsdl file is saved here: more smart approaches might be adopted
if saving the WSDL file causes troubles.
package net.webservicex;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* This class was generated by Apache CXF 2.0.9
* Thu Nov 13 13:52:27 CET 2008
* Generated source version: 2.0.9
*
*/
@WebService(targetNamespace = "http://www.webserviceX.NET", name = "GlobalWeatherSoap")
public interface GlobalWeatherSoap {
@ResponseWrapper(localName = "GetCitiesByCountryResponse", targetNamespace = "http://www.webserviceX.NET", className = "net.webservicex.GetCitiesByCountryResponse")
@RequestWrapper(localName = "GetCitiesByCountry", targetNamespace = "http://www.webserviceX.NET", className = "net.webservicex.GetCitiesByCountry")
@WebResult(name = "GetCitiesByCountryResult", targetNamespace = "http://www.webserviceX.NET")
@WebMethod(operationName = "GetCitiesByCountry", action = "http://www.webserviceX.NET/GetCitiesByCountry")
public java.lang.String getCitiesByCountry(
@WebParam(name = "CountryName", targetNamespace = "http://www.webserviceX.NET")
java.lang.String countryName
);
@ResponseWrapper(localName = "GetWeatherResponse", targetNamespace = "http://www.webserviceX.NET", className = "net.webservicex.GetWeatherResponse")
@RequestWrapper(localName = "GetWeather", targetNamespace = "http://www.webserviceX.NET", className = "net.webservicex.GetWeather")
@WebResult(name = "GetWeatherResult", targetNamespace = "http://www.webserviceX.NET")
@WebMethod(operationName = "GetWeather", action = "http://www.webserviceX.NET/GetWeather")
public java.lang.String getWeather(
@WebParam(name = "CityName", targetNamespace = "http://www.webserviceX.NET")
java.lang.String cityName,
@WebParam(name = "CountryName", targetNamespace = "http://www.webserviceX.NET")
java.lang.String countryName
);
}