...against simple server which sleeps for 5 seconds when processing
a request results in a timeout after ~1s. If you wish to bypass the
backward compatibility, you can do retrieve the transport object and
set the timeout on it, like this:

i too would like to set the timeout. im not using the full interface though.
if im making a call like this:

my $service = SOAP::WSDL->new( wsdl => $wsdl );

how would i get/set the timeout off of that? ive looked around and cant seem to find anything relevant. thanks

Posted on 2008-05-25 20:32:41-07 by mkutter in response to 7928

I actually missed this - you need a fixed version of SOAP/WSDL.pm
from http://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL.pm
With this version, you can set the timeout by passing additional arguments to the
proxy() or set_proxy() methods like