SOAP::RPC::Driver timeout

Discussion in 'Ruby' started by Dennis Crissman, Jul 13, 2007.

  1. I want to be able to control the timeout length on the
    SOAP::RPC::Driver. Anyone know how this can be done?

    Thanks

    --
    Posted via http://www.ruby-forum.com/.
     
    Dennis Crissman, Jul 13, 2007
    #1
    1. Advertising

  2. -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi,

    Dennis Crissman wrote:
    > I want to be able to control the timeout length on the
    > SOAP::RPC::Driver. Anyone know how this can be done?


    SOAP::RPC::Driver#options["protocol.http.connect_timeout"] = 60 # [sec]
    SOAP::RPC::Driver#options["protocol.http.send_timeout"] = 120 # [sec]
    SOAP::RPC::Driver#options["protocol.http.receive_timeout"] = 60 # [sec]

    The 2nd and 3rd options only works when you've installed http-access2.

    // NaHi
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2.1 (Cygwin)

    iQEVAwUBRpg97R9L2jg5EEGlAQK8Bgf/SunSZzsAcirzpGJJrN/iH+gFUency4Tq
    RTSsg1nERFPAJSYwHTqo1ow6scxTwnLQIFXW9zigjei92y29X97uC7VrxiRJrkai
    DK3A/FWBdaFZaBL9Re3joNsSydnpskNU4HKb7ar2+qgpZ03Z26GSyQOC8iC4XhsT
    B92tNSRCJnH6+RtkZ0HMH1nEvBcvAyJR0YS3uPejZvVhJ9zze9aBUkyJ+6x5jXpK
    2JTkx1WPDOveKcMF0ju95a2oFfYD/KLK6lIudIIeEnFvqAMDnKG9AH2oA4x2eOB5
    ZGvDncIjBa84Y+ncXJd0TDlgoc2jfRNdHFSOxasTq7NJyjZvMAecDw==
    =DEVm
    -----END PGP SIGNATURE-----
     
    NAKAMURA, Hiroshi, Jul 14, 2007
    #2
    1. Advertising

  3. NAKAMURA, Hiroshi wrote:
    > SOAP::RPC::Driver#options["protocol.http.connect_timeout"] = 60 # [sec]
    > SOAP::RPC::Driver#options["protocol.http.send_timeout"] = 120 # [sec]
    > SOAP::RPC::Driver#options["protocol.http.receive_timeout"] = 60 # [sec]
    >
    > The 2nd and 3rd options only works when you've installed http-access2.


    Is there anyway to set the "receive_timeout" without http-access2
    installed?

    It appears that http-access2 is installed with the rubyforge gem, is
    there any other way to install it?

    --
    Posted via http://www.ruby-forum.com/.
     
    Dennis Crissman, Jul 16, 2007
    #3
  4. -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi,

    Dennis Crissman wrote:
    >> SOAP::RPC::Driver#options["protocol.http.connect_timeout"] = 60 # [sec]
    >> SOAP::RPC::Driver#options["protocol.http.send_timeout"] = 120 # [sec]
    >> SOAP::RPC::Driver#options["protocol.http.receive_timeout"] = 60 # [sec]
    >>
    >> The 2nd and 3rd options only works when you've installed http-access2.

    >
    > Is there anyway to set the "receive_timeout" without http-access2
    > installed?


    I was wrong. soap4r + net/http should handle receive_timeout option as
    same as connect_timeout. Not work for you?

    > It appears that http-access2 is installed with the rubyforge gem, is
    > there any other way to install it?


    I released soap4r-1.5.7 yesterday and posted gems of soap4r-1.5.7 and
    httpclient-2.1.0 (formerly known as http-access2) to rubyforge this
    morning. Please update soap4r (httpclient should be updated according
    its dependency).

    // NaHi

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.5 (Cygwin)

    iQEVAwUBRpwtoh9L2jg5EEGlAQJDQwgAhKSkFx/zIlB7SBfwE22j2fLzO0Mfnmw5
    NdNVxDS5oqqgdpZQt7bqsc0/QiiHm2KFlcjIgyHp63Stwzv4EjEtOTRbYsgo5Q7g
    cUokAFUKtPAqZclfcKJmSXG3/din5ga6ThiKpwonChzgldURa5vLqZTLP4uJfoMe
    AuI5o+kg9qdHNLaj1l3u/BWJwULLOEwAU41vff+n3GEUGovAcK34aA+MSEAUJMKx
    ru9n/2Xl4d7YI8HZ9vtPIjGDcCOhHw3Cxt7vSRZATVaF2Tmwl3KiR4503A6OCPtJ
    R0yooEfBd4HLge623gYcaTNaHmTUai2wxC+eokPQwE7+dbfbe3pfCg==
    =Ngh0
    -----END PGP SIGNATURE-----
     
    NAKAMURA, Hiroshi, Jul 17, 2007
    #4
  5. Let me rephrase my question from above, is there anyway to set the
    "receive_timeout' without using any libraries beyond what Rails
    provides?

    --
    Posted via http://www.ruby-forum.com/.
     
    Dennis Crissman, Jul 17, 2007
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pere Montolio

    XML RPC to ONC XDR RPC

    Pere Montolio, Aug 11, 2004, in forum: XML
    Replies:
    0
    Views:
    732
    Pere Montolio
    Aug 11, 2004
  2. Ymtrader
    Replies:
    1
    Views:
    584
    Adam Tauno Williams
    Mar 15, 2011
  3. Shirish Joshi

    Ruby and Sun-RPC or ONC-RPC ?

    Shirish Joshi, Apr 7, 2004, in forum: Ruby
    Replies:
    0
    Views:
    200
    Shirish Joshi
    Apr 7, 2004
  4. Vladimir Konrad

    rpc (not xml-rpc)

    Vladimir Konrad, Sep 2, 2005, in forum: Ruby
    Replies:
    5
    Views:
    138
    Austin Ziegler
    Sep 3, 2005
  5. Wes Shaddix

    Soap::RPC::Driver Question

    Wes Shaddix, Oct 27, 2005, in forum: Ruby
    Replies:
    4
    Views:
    200
    NAKAMURA, Hiroshi
    Oct 29, 2005
Loading...

Share This Page