> I would expect to get a NetConnectNotAllowed error, but instead it
> does the network call and gives me the actual web service error.
>
> 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
If soap4r uses Net::HTTP then it should Just Work. I haven't looked at
soap4r's internals in a long time, but the last time I did it was
painful. I wouldn't be at all surprised if it just makes socket calls,
but I also wouldn't be surprised if some require arcana is going on
which breaks fakeweb - a version of soap4r is in the standard library,
and installing the gem broke Irb.
I guess I'm saying you'll need to dig into the internals, but I'd try
it without the soap4r gem too.
Matt
--
Matt Patterson | Design & Code
<ma...@reprocessed.org> | http://www.reprocessed.org/