in reply to Trapping Network errors in SOAP::Lite
In the event of a transmission error, $result would be set to undef. A statement in my code somewhere down the line said something like$result = $soap->call(SOAP::Data->name('LoadIntraDaySwap')->attr({ +xmlns => 'https://www.primebroker.com/'}) => $elem );
Now I am trying to call an function for an undefined item. This caused the program to crash. Thanks again everyone for all your help.print $result->fault();
|
|---|