From: David Alphen Date: 2007-06-07T00:01:21+09:00 Subject: Re: Web Services problem: OpenSSL::X509::StoreError ------=_Part_52373_3005562.1181142079970 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 1. yes rt_results works fine without Rails environment. 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) RAILS_ROOT: D:/www/airtravelonrails/config/.. Application Trace | Framework Trace | Full Trace (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' #{RAILS_ROOT}/app/controllers/air_search_controller.rb:67:in `rt_results' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `send' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `perform_action_without_filters' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:632:in `call_filter' ............... 3. Ok. I'll do it. ++ On 6/6/07, NAKAMURA, Hiroshi wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > David Alphen wrote: > > My problem is when I try to integrate it in my Rails application I have > an > > argument error: > > 1. rt_results run fine without Rails environment, right? > > > ArgumentError in Air searchController#rt_results > > > > wrong number of arguments (1 for 0) > > > C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2 > /lib/active_support/core_ext/array/conversions.rb:66:in > > `to_xml' > > 2. Can you show me the error dump of 'arguments (0 for 1)' as same as > above, please? You get the same stack trace? > > 3. WSDLDrverFactory#create_rpc_driver parses WSDL every time you call > it and it's heavy process. Please consider to use wsdl2ruby.rb or, call > WSDLDriverFactory#create_rpc_driver only once and reuse the driver. > > Regards, > // NaHi > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Cygwin) > > iQEVAwUBRmaznR9L2jg5EEGlAQLyuAf7Bx5niRktI/f7yba8RqbtgudzAA16lzAs > 5ArxsghW1TLV3t6rX1Ike09nTmABvBvxcqb+6ieujj+i5nqCDxkdvO1OHbj4VT+C > kSI1vyAI+9B3/JpXrBkkEASssu6OxWEtDN/kVW/SPHn/yioAZr8AfkYchTVNWYw3 > H/pbL6lfv3PjFK4Q7+H1G89ilgfzrUUIVf+dVr76ftoMZ1CWCAQ+o3JjlyPTxSFs > pisR/G6w2vp4FiEvpefuILRC1rWFCYKzwi6/bcTQUSTARs+7D2WJ6oErmEpGpPsE > oMZHjQ1PuC2JAdJyOUzK47u0AkgmuGODgm6Uyt9pzfLhLCaUDOJTgw== > =vD/H > -----END PGP SIGNATURE----- > > -- David ALPHEN ------=_Part_52373_3005562.1181142079970--