Forum: Ruby HTTP Proxy problem in SOAP based webservice

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Keith F. (Guest)
on 2008-12-01 18:25
  While accessing my application through a proxy bypassed system, the
application runs fine, but on a proxy configured machine its gives me a
timed out error.

  Below is the pseudo code of what i am trying..

         factory =
SOAP::WSDLDriverFactory.new("webservice_url").create_rpc_driver

 The Error it gives is:

    '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'

  Need help to configure http proxy settings programatically. Any
pointers would be of great help.

  I have also seen a ruby class httpconfigloader.rb, would this be of
any help?

  Anyway of configuring proxy will do, as i need it urgently.

  Thanks in advance.

Note: I have tried out Restfull webservices and they are working without
any problem.

 -Keith
This topic is locked and can not be replied to.