-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Sorry for late reply. I was unconscious this thread. I wrote sample client of this weather service for another person and find this article in Google search. tsuraan wrote: > Has anyone used soap4r with the US weather service's soap server? I'm > having trouble figuring out how the array that the service uses should > map into ruby. I've tried using wsdl2ruby to convert the wsdl > automatically to a ruby class, but that doesn't even work. Also, if > this is the wrong place to be asking this (probably...), could someone > point me in the right direction? Thanks. Here's a sample client; http://dev.ctor.org/soap4r/file/trunk/sample/wsdl/noaa/client.rb The sample requires the latest snapshot tarball of soap4r at http://dev.ctor.org/download/ I don't know this service well. The sample clients above seem to access the service correctly, but I don't know the response is right or not. Would somebody please check this sample and let me know it works correctly? I cannot understand the response XML. (What is dwml?) This service seems to be somewhat popular... Is there a XML Schema of this dwml thing? I might be able to map a response XML to Ruby object graph using XML Schema support of soap4r, like I once did for Yahoo's Search Web Services at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/132666 Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) iD8DBQFCX8kMf6b33ts2dPkRAq+gAJsE4IxT/F51f08xtpHuaEaExpvp/QCfcKNW Nhr3SZWWQGvxkdobTtfGntw= =fJkD -----END PGP SIGNATURE-----