From: "NAKAMURA, Hiroshi" Date: 2007-06-07T00:28:08+09:00 Subject: Re: Web Services problem: OpenSSL::X509::StoreError -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, David Alphen wrote: > 1. yes rt_results works fine without Rails environment. OK. > 2. I have a different error, here is the application stack trace: > > ArgumentError in Air searchController#rt_results > wrong number of arguments (0 for 1) > (eval):4:in `air_MultiAvailability' > C:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:117:in `__send__' > C:/ruby/lib/ruby/1.8/soap/wsdlDriver.rb:117:in `Air_MultiAvailability' It's normal. You need to pass one argument then. (BTW, you can call driver.air_MultiAvailability instead of driver.Air_MultiAvailability. Soap4r converts a method name to Ruby compliant safer name and add a wrapper method for an original name as above) So the actual problem is 'wrong number of arguments (1 for 0)' raised from lib/active_support/core_ext/array/conversions.rb:66:in `to_xml'. I can't imagine why it's called but a method name 'to_xml' is suspicious. Two-ducks-close-but-not-the-same problem. Please post a full stack trace of 'wrong number of arguments (1 for 0)'? Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) iQEVAwUBRmbSaR9L2jg5EEGlAQLeDAf/QxpKFIX4i0W47pDa6xj8G2G1Wh1r6hJI f78l+IK5VPM2Gp2xncUMjiqhYMfa3sj2bHC8avMSTDbI8l3aKprDC/Q45ETZHTnb ZfUsGbfD/fee6RW3/6ZiyHi2HfPzto/cbw9RNWvEbbdLDYmjYLdYe3PMr1bHoJ0s 8rvY69TXmFivFl+Y+PiavyuSELe/oHwdGnsZHNTVXpL+KsSzqMuLNRPQOxA6jG1X K23PiwCUXJtRL4E2fQleAlpHG+U7cdeiv5wssjQZzCYYiZEu2E2RodyZMHN/pWjo t4Gnjmi2Qrf3K75/R2Qmu1IoSrgi1lOykZnVpPrm03pA52T5aEKwjg== =TSi6 -----END PGP SIGNATURE-----