P
P Rajmohan Banavi-A17190
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.
=20
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
n `new'
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
n `connect'
c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'
c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
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
n `query'
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
n `do_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
n `prepare_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
n `get'
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
n `follow_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:in `fetch'
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:in
`import'
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:in `run'
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:in `start'
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)
=20
Thanks in advance.
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.
=20
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
n `new'
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
n `connect'
c:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'
c:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'
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
n `query'
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
n `do_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
n `prepare_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
n `get'
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
n `follow_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:in `fetch'
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:in
`import'
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:in `run'
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:in `start'
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)
=20
Thanks in advance.