Hi,
My code is
This shows the following error
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2)
Any one help me why this error occurs...
The problem resides in the following line
how can we overcome this error!!
Thanks in Advance!
My code is
Code:
require 'soap/wsdlDriver'
w = "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL"
soap = SOAP::WSDLDriverFactory.new(w).create_rpc_driver
result = soap.ConversionRate(:FromCurrency => "USD", :ToCurrency =>"CAD")
puts result.conversionRateResult
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. - connect(2)
Any one help me why this error occurs...
The problem resides in the following line
Code:
soap = SOAP::WSDLDriverFactory.new(w).create_rpc_driver
Thanks in Advance!