Well, I was trying to use dynamically generated proxies, but since as
far as I can tell there isn't a way to override the endpoint in that
scenario, at your suggestion I tried the wsdl2ruby route. It didn't
work at all. I called this:
ruby /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.8/bin/wsdl2ruby.rb --
wsdl
https://sandbox.google.com/api/adsense/v3/AccountService?wsdl --
type client --force
...and got back a ton of errors, most of which looked something like
this:
WARNING: no soap:fault found for wsdl:fault "{
http://www.google.com/
api/adsense/v3}associateExistingAccountFault" in operation
"associateExistingAccount"
...with various operation names, and then finally this:
F, [2008-05-27T09:23:10.292399 #5114] FATAL -- app: Detected an
exception. Stopping ... base type definition not found: {http://
www.google.com/api/adsense/v3}AxisFault (RuntimeError)
I'm sunk. :(