On May 31, 1:37 pm, zilkey <j...
> Is there a way to intercept all HTTP calls from within soap4r? I'm
> using the soap4r gem, v 1.5.8 and the fakeweb gem, v 1.2.3
I took a look at soap4r's source just now, and it looks like it's
using httpclient, which is an alternative to Net::HTTP. So FakeWeb
won't be able to stub out those requests, since it works by changing
the internals of Net::HTTP.
However! Michael Shapiro has a fork on github that has support for
both Net::HTTP and httpclient. I haven't had time to fully review his
changes, yet, and they're based on an older version of FakeWeb, but
hey -- if you're interested, give it a try and let me know how it
works out. http://github.com/koudelka/fakeweb/commit/f98f40261517a7d80d13b09a13e...
In general, I'd love to get a multi-adapter thing going on. There are
a few really interesting alternatives out there, like curb, typhoeus,