in reply to Trapping Network errors in SOAP::Lite

I prefer to think of SOAP::Lite is a great tool for SOAP protocol, and implement a wrapper for trap failures:

... $Result = $self->{ws}->call( $Call, SOAP::Data->value( @Params ) ); $result = $Result; #-- Check if had connect at server unless ( $Result ) { return undef; } #-- Check fault if ( $Result->fault ) return undef; } #-- Armazena retornos da Requisicao $values = $Result->valueof('//' . $Call . 'Response'); ...

Common faults:

--
Marco Antonio
Rio-PM