Wsdl2ruby proxy aware?

I am behind a proxy and while running wsdl2ruby on Windows XP, I am
getting the following error. I believe this is because of proxy and I am
not aware how to make wsdl2ruby to use proxy. Any enviroment variables
or any settings? The wsdl url I have pasted here is a sample (invalid)
and I got the below error with a valid url.

ruby C:\ruby\bin\wsdl2ruby.rb --wsdl
http://example.example.com/Service.wsdl
http://example.example.com/Service.wsdl --type client --force

F, [2008-08-27T19:26:04.647000 #3552] FATAL – app: Detected an
exception. Stopping … getaddrinfo: no address associated with
hostname. (http://example.example http://example.example .com:80)
(SocketError)
c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1497:i
n initialize' c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1497:i nnew’
c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1497:i
n create_socket' c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1455:i nconnect’
c:/ruby/lib/ruby/1.8/timeout.rb:56:in timeout' c:/ruby/lib/ruby/1.8/timeout.rb:76:intimeout’
c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1454:i
n connect' c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1311:i nquery’
c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:932:in
query' c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:2131:i ndo_get_block’
c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1956:i
n request' c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:2068:i nprepare_request’
c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1955:i
n request' c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1925:i nget’
c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1891:i
n get_content' c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:2050:i nfollow_redirect’
c:/ruby/lib/ruby/gems/1.8/gems/httpclient-2.1.2/lib/httpclient.rb:1890:i
n get_content' c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/wsdl/xmlSchema/importer. rb:73:infetch’
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/wsdl/xmlSchema/importer.
rb:36:in import' c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/wsdl/importer.rb:18:inimport’
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/wsdl/soap/wsdl2ruby.rb:2
06:in import' c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/lib/wsdl/soap/wsdl2ruby.rb:3 6:inrun’
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/bin/wsdl2ruby.rb:46:in run' c:/ruby/lib/ruby/1.8/logger.rb:659:instart’
c:/ruby/lib/ruby/gems/1.8/gems/soap4r-1.5.8/bin/wsdl2ruby.rb:137
C:/ruby/bin/wsdl2ruby.rb:16:in `load’
C:/ruby/bin/wsdl2ruby.rb:16
I, [2008-08-27T19:26:04.647000 #3552] INFO – app: End of app. (status:
-1)

Thanks in advance.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs