For the most part, you can just do: wsdl2java http://www.webservicex.net/globalweather.asmx?WSDL
Then in your code, just do: GlobalWeather weather = new GlobalWeather(); GlobalWeatherSoap port = weather.getGlobalWeatherSoap(); String result = port.getWeather(city, country); Dan On Friday 11 April 2008, Valerio Schiavoni wrote: > Hello everyone, > suppose I want to write a client application to use the meteo > webservice at this address: > > http://www.webservicex.net/globalweather.asmx?WSDL > > What are the steps to do so using CXF ? > I've been using wsdl2java to geneate java classes and interfaces, but > it's not quite clear how to combine such classes with cxf. In > particular, up to now I've been using cxf to generate clients using > the > ClientProxyFactoryBean...or the DynamicClientfactory to generate the > client. > > So, help is very appreciated. > > Cheers, > Valerio -- J. Daniel Kulp Principal Engineer, IONA [EMAIL PROTECTED] http://www.dankulp.com/blog
