I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-02-23 20:51:16-08 by schrist
Tiem Out error
Greetings,
I'm getting a time out error from my Webservices request. It there a way to set the timeout in the WSDL class?
Here is the error outputed by the $response object:
soap:Server Error sending / receiving message: read timeout
It seems like after 5 minutes is when it bombs. Thank you!
Sara
Direct Responses: 10057 | Write a response
Posted on 2009-02-23 20:59:44-08 by mkutter in response to 10056
Re: Tiem Out error
Hi,
you can set a timeout by calling the ->set_proxy() method.

The first parameter is the SOAP endpoint (URL), all following parameters get passed to LWP::UserAgent. Calling $soap->set_proxy($url, timeout => 600) sets the timeout to 10 minutes.

Martin
Direct Responses: 10058 | Write a response
Posted on 2009-02-23 21:14:26-08 by schrist in response to 10057
Re: Tiem Out error
Martin,
That worked. Thank you so much for your quick replies!
Sara
Direct Responses: Write a response