NAKAMURA, Hiroshi
6/6/2007 1:17:00 PM
-----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-----