|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Error handling on_fault and return params to the caller file (abc.mp)by nitins818@gmail.com (Initiate) |
| on Jun 28, 2012 at 06:14 UTC ( #978840=perlquestion: print w/ replies, xml ) | Need Help?? |
|
nitins818@gmail.com has asked for the
wisdom of the Perl Monks concerning the following question:
Error handling on_fault
I made a service using soap::lite, If my service crashes my $soap = SOAP::Lite ->service("$wsdl") ->proxy($proxy, timeout => 5 ) -> on_fault( sub { ## I am here after there is any fault in service i want to return some error_result to the caller file. like : return (0, 'Some error occurred'); }; Can anyone help me How to return params to the caller . login.mp -> adapter.pm ( here soap::lite calls service nad return response to login.mp )
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||