473,394 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Error on web service implementation in ruby on rails

Hi,

My code is
Expand|Select|Wrap|Line Numbers
  1.     require 'soap/wsdlDriver'
  2.     w = "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL"
  3.     soap = SOAP::WSDLDriverFactory.new(w).create_rpc_driver
  4.     result = soap.ConversionRate(:FromCurrency => "USD", :ToCurrency =>"CAD")
  5.     puts result.conversionRateResult
  6.  
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

Expand|Select|Wrap|Line Numbers
  1.     soap = SOAP::WSDLDriverFactory.new(w).create_rpc_driver
  2.  
how can we overcome this error!!

Thanks in Advance!
Jul 7 '11 #1
0 2152

Sign in to post your reply or Sign up for a free account.

Similar topics

28
by: flamesrock | last post by:
Firstly, this topic is NOT intended for trolling or starting any flame wars. I want to know if anyone has experience with these frameworks, and if so, how do they compare? Which one do you...
2
by: Özden Irmak | last post by:
Hello, I'm trying to implement IDesignerHost interface. Everything is ok except GetType method which gives me the errors below : DesignerHost' must implement 'Overridable Overloads Function...
1
by: chris | last post by:
Is there any Message Service implementation ( such as MQ Series, ActiveMQ in Java) in C++ ? Thanks in advance.
122
by: seberino | last post by:
I'm interested in knowing which Python web framework is most like Ruby on Rails. I've heard of Subway and Django. Are there other Rails clones in Python land I don't know about? Which one...
92
by: Ray | last post by:
I just moved to another company that's mainly a Java/.NET shop. I was happy to find out that there's a movement from the grassroot to try to convince the boss to use a dynamic language for our...
42
by: kenneth.m.mcdonald | last post by:
First, I don't intend this to be a flame war, please. Python and Ruby are the only two languages I'd willingly work in (at least amongst common languages), and TurboGears and Rails seem roughly...
1
by: robbx | last post by:
Hy guys I got an error trying to install Rails on Windows XP /SP2 C:\rubydev\ruby>gem install rails --include-dependencies ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) ...
0
by: Ccraig | last post by:
Hello, I am new to this and have run into a problem. I have edited a column in MySql and I can see that it works fine. The problem I have is I need to refresh the view (hope thats the right term) to...
1
by: mrutyunjaya | last post by:
Give details how to install ruby-rails on xp-professional, give url from which we can download software
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.