Forum: Ruby SOAP::RPC::Driver timeout

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.
C227f9f1d21b776491c711cd5c89533a?d=identicon&s=25 Dennis Crissman (raughan)
on 2007-07-13 17:00
I want to be able to control the timeout length on the
SOAP::RPC::Driver. Anyone know how this can be done?

Thanks
C4ec160c6223ee24609cbd07fd922be5?d=identicon&s=25 NAKAMURA, Hiroshi (Guest)
on 2007-07-14 05:09
(Received via mailing list)
-----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-----
C227f9f1d21b776491c711cd5c89533a?d=identicon&s=25 Dennis Crissman (raughan)
on 2007-07-16 19:37
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?
C4ec160c6223ee24609cbd07fd922be5?d=identicon&s=25 NAKAMURA, Hiroshi (Guest)
on 2007-07-17 04:52
(Received via mailing list)
-----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-----
C227f9f1d21b776491c711cd5c89533a?d=identicon&s=25 Dennis Crissman (raughan)
on 2007-07-17 19:04
Let me rephrase my question from above, is there anyway to set the
"receive_timeout' without using any libraries beyond what Rails
provides?
This topic is locked and can not be replied to.