Forum: Ruby Proxy question when using soap/wsdlDriver

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
191323646f58906d0d8b5ca48ca8f75d?d=identicon&s=25 Jared Richardson (Guest)
on 2006-03-23 16:49
(Received via mailing list)
Hi all,

I'm going through the Brian Marick web services article
(, but at my day
I'm behind a proxy/firewall.

To run a Ruby gem I have to do something like this

gem install -p rails

but I'm having a bit of trouble finding the equivalent for the soap
I'm trying to run within IRB but can switch over to "real" Ruby code in
file if it makes it easier.

specifically, I'm trying to run this code:

require "soap/wsdlDriver"
wsdl = ""
factory =

At this point, the factory can't create the factory because it can't
outside the web proxy. I can download the wsdl file (via a web browser)
save it, but then I won't be able to actually exercise the web service.

So how do I tell Ruby (or IRB or the soap code) to use a proxy?

Thanks all!

2007c0c37cb176dc3d601cf5724fea54?d=identicon&s=25 David Ishmael (Guest)
on 2006-03-23 16:57
(Received via mailing list)
I had a similar problem and ended up setting an env variable:


The SOAP connection worked after that, but mileage will vary.

This topic is locked and can not be replied to.