From: David Alphen Date: 2007-06-07T00:43:32+09:00 Subject: Re: Web Services problem: OpenSSL::X509::StoreError ------=_Part_53318_6641960.1181144611375 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Well I knew it was not the same problem, I've tried no argument just like that to test what was happening. Anyway, I'm still on the problem, I don't understand what it could be, here is the full stack trace: C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/array/conversions.rb:66:in `to_xml' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/array/conversions.rb:66:in `to_xml' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/array/conversions.rb:66:in `each' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/array/conversions.rb:66:in `to_xml' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/vendor/builder/xmlbase.rb:140:in `call' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/vendor/builder/xmlbase.rb:140:in `_nested_structures' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/vendor/builder/xmlbase.rb:60:in `method_missing' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/vendor/builder/xmlbase.rb:32:in `__send__' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/vendor/builder/xmlbase.rb:32:in `tag!' C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/array/conversions.rb:66:in `to_xml' C:/ruby/lib/ruby/1.8/soap/baseData.rb:749:in `to_xml' C:/ruby/lib/ruby/1.8/soap/generator.rb:72:in `encode_data' C:/ruby/lib/ruby/1.8/soap/generator.rb:121:in `encode_element' C:/ruby/lib/ruby/1.8/soap/element.rb:125:in `encode' C:/ruby/lib/ruby/1.8/soap/element.rb:124:in `each' C:/ruby/lib/ruby/1.8/soap/element.rb:124:in `encode' C:/ruby/lib/ruby/1.8/soap/generator.rb:119:in `encode_element' C:/ruby/lib/ruby/1.8/soap/generator.rb:75:in `encode_data' C:/ruby/lib/ruby/1.8/soap/generator.rb:136:in `encode_element' C:/ruby/lib/ruby/1.8/soap/element.rb:264:in `encode' C:/ruby/lib/ruby/1.8/soap/generator.rb:134:in `encode_element' C:/ruby/lib/ruby/1.8/soap/generator.rb:75:in `encode_data' C:/ruby/lib/ruby/1.8/soap/generator.rb:60:in `generate' C:/ruby/lib/ruby/1.8/soap/processor.rb:30:in `marshal' C:/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:255:in `marshal' C:/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:167:in `route' C:/ruby/lib/ruby/1.8/soap/rpc/proxy.rb:142:in `call' C:/ruby/lib/ruby/1.8/soap/rpc/driver.rb:180:in `call' (eval):6: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' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:449:in `call' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' C:/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/rescue.rb:83:in `perform_action' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `send' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `process_without_filters' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:624:in `process_without_session_management_support' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:114:in `process' C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:in `process' C:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:41:in `dispatch' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/rails.rb:78:in `process' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/rails.rb:76:in `synchronize' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/rails.rb:76:in `process' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:618:in `process_client' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:617:in `each' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:617:in `process_client' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:736:in `run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:736:in `initialize' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:736:in `new' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:736:in `run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:720:in `initialize' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:720:in `new' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel.rb:720:in `run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/configurator.rb:271:in `run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/configurator.rb:270:in `each' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/configurator.rb:270:in `run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/bin/mongrel_rails:127:in `run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/mongrel/command.rb:211:in `run' C:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/bin/mongrel_rails:243 C:\ruby\bin\mongrel_rails:16:in `load' C:\ruby\bin\mongrel_rails:16 -e:3:in `load' -e:3 On 6/6/07, NAKAMURA, Hiroshi wrote: > > -----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----- > > -- David ALPHEN ------=_Part_53318_6641960.1181144611375--