Occasionally, the client can't reach the server and it times out. When this happens it throws an error that crashes the client.my $server = SOAP::Lite -> uri('http://www.soaplite.com/duplsvr') + -> proxy('http://my.ip.com/cgi-bin/server.cgi', timeout => 60); $result = $server->process($data);
What I want to do is is put $data on a stack for a later try. But in the case of the timeout I don't even get a chance to check for $result->fault before the client crashes. Is there some way to trap the timeout so the client doesn't crash?
TIA......Steve
In reply to How to trap SOAP client timeout by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |