sophate has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

I'm using wsdl2perl.pl to generate some Perl modules for a web service with SOAP. I would like to change the HTTP timeout to a longer period but couldn't find anyway to do this at CPAN. Just want to know if it is possible to set the HTTP timeout with wsdl2perl.pl and if so how to do it. Thanks in advance.

Replies are listed 'Best First'.
Re: Set HTTP timeout with wsdl2perl.pl
by Corion (Patriarch) on Aug 05, 2013 at 07:53 UTC

    If you mean wsdl2perl.pl from SOAP::WSDL, I think you will have to modify the source code of wsdl2perl.pl to give the UserAgent a timeout. See LWP::UserAgent for how to give it a timeout.

      Thanks. Will look into that.