This has been running smoothly for months. Now recently a couple of times the client has issued the error "405 Method not allowed" for the the line containing the eval.sub send { my $data = shift; my $reply; my $result; my $server = SOAP::Lite + -> uri('http://www.soaplite.com/server') + -> proxy('http://xxx.xxx.xxx.xxx/cgi-bin/server.cgi', timeout => + 30); eval { $result = $server->store($data); }; if ($@) { $reply = $@; } elsif ($result->fault) { $reply = join ', ', $result->faultcode, $result->faultstring, $ +result->faultdetail,"sub=sendthread $threadid"; } return $reply; }
This perplexes me on several counts. (1) This is not a fault from the server because I'm not getting all the stuff in the elsif. (2) It's not a valid reply from the server. (3) This sub gets called repeatedly (by design) from the script that contains it . Once it generates this error, it continues to do so until I shut down the overall script, but (4) the minute I restart everything is fine again.
Anyone know what's going on?
Many TIA....Steve
In reply to SOAP::Lite 405 Method not Allowed? by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |