SOAP::RPC::Driver timeout


#1

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

Thanks


#2

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

Hi,

Dennis C. 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-----


#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?


#4

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

Hi,

Dennis C. 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-----


#5

Let me rephrase my question from above, is there anyway to set the
"receive_timeout’ without using any libraries beyond what Rails
provides?