$ ruby client.rb
/usr/local/lib/ruby/1.8/soap/streamHandler.rb:270:in send_post': 404: Not Found (SOAP::HTTPStreamError) from /usr/local/lib/ruby/1.8/soap/streamHandler.rb:103:in send’
from /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:114:in invoke' from /usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:131:in call’
from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:275:in call' from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:302:in find_product_by_id’
from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:297:in
`find_product_by_id’
from client.rb:4
$ ruby client.rb
/usr/local/lib/ruby/1.8/soap/rpc/driver.rb:300:in find_product_by_id': wrong number of arguments (1 for 0) (ArgumentError) from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:297:in find_product_by_id’
from client.rb:6
and if I remove the 2 in the call to proxy.find_product_by_id so there
are no arguments (which is wrong, of course)
$ ruby client.rb
/usr/local/lib/ruby/1.8/soap/rpc/proxy.rb:132:in call': undefined method header’ for nil:NilClass (NoMethodError)
from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:275:in call' from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:302:in find_product_by_id’
from /usr/local/lib/ruby/1.8/soap/rpc/driver.rb:297:in
`find_product_by_id’
from client.rb:6